Enable solution folders

This commit is contained in:
Stinkfist0
2016-02-20 00:13:04 +02:00
parent 645315a8f4
commit e171e308d0
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -243,6 +243,11 @@ if(ENABLE_BUILD_OPTIMIZATIONS)
endif()
IF(MSVC)
# Enable solution folders (free VS versions < 2012 doesn't support solution folders)
if (MSVC_VERSION GREATER 1600)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
endif()
IF(USE_VLD)
ADD_DEFINITIONS(-DUSE_VLD)
ENDIF()
+2
View File
@@ -19,6 +19,8 @@
ADD_EXECUTABLE(IfcParseExamples IfcParseExamples.cpp)
TARGET_LINK_LIBRARIES(IfcParseExamples IfcParse)
set_target_properties(IfcParseExamples PROPERTIES FOLDER Examples)
ADD_EXECUTABLE(IfcOpenHouse IfcOpenHouse.cpp)
TARGET_LINK_LIBRARIES(IfcOpenHouse IfcParse IfcGeom ${OPENCASCADE_LIBRARIES})
set_target_properties(IfcOpenHouse PROPERTIES FOLDER Examples)