mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Enable solution folders
This commit is contained in:
@@ -243,6 +243,11 @@ if(ENABLE_BUILD_OPTIMIZATIONS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
IF(MSVC)
|
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)
|
IF(USE_VLD)
|
||||||
ADD_DEFINITIONS(-DUSE_VLD)
|
ADD_DEFINITIONS(-DUSE_VLD)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
ADD_EXECUTABLE(IfcParseExamples IfcParseExamples.cpp)
|
ADD_EXECUTABLE(IfcParseExamples IfcParseExamples.cpp)
|
||||||
TARGET_LINK_LIBRARIES(IfcParseExamples IfcParse)
|
TARGET_LINK_LIBRARIES(IfcParseExamples IfcParse)
|
||||||
|
set_target_properties(IfcParseExamples PROPERTIES FOLDER Examples)
|
||||||
|
|
||||||
ADD_EXECUTABLE(IfcOpenHouse IfcOpenHouse.cpp)
|
ADD_EXECUTABLE(IfcOpenHouse IfcOpenHouse.cpp)
|
||||||
TARGET_LINK_LIBRARIES(IfcOpenHouse IfcParse IfcGeom ${OPENCASCADE_LIBRARIES})
|
TARGET_LINK_LIBRARIES(IfcOpenHouse IfcParse IfcGeom ${OPENCASCADE_LIBRARIES})
|
||||||
|
set_target_properties(IfcOpenHouse PROPERTIES FOLDER Examples)
|
||||||
|
|||||||
Reference in New Issue
Block a user