GeomAPI
)
-
-
ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS})
ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES})
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
- ${CMAKE_SOURCE_DIR}/src/ModelAPI
- ${CMAKE_SOURCE_DIR}/src/Events
- ${CMAKE_SOURCE_DIR}/src/GeomAPI
- ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
+ ${PROJECT_SOURCE_DIR}/src/ModelAPI
+ ${PROJECT_SOURCE_DIR}/src/Events
+ ${PROJECT_SOURCE_DIR}/src/GeomAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
)
INSTALL(TARGETS GeomValidators DESTINATION plugins)
+
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
- ${CMAKE_SOURCE_DIR}/src/Config
- ${CMAKE_SOURCE_DIR}/src/Events
- ${CMAKE_SOURCE_DIR}/src/ModelAPI
- ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
- ${CMAKE_SOURCE_DIR}/src/GeomAPI
- ${CMAKE_SOURCE_DIR}/src/GeomAlgoAPI
+ ${PROJECT_SOURCE_DIR}/src/Config
+ ${PROJECT_SOURCE_DIR}/src/Events
+ ${PROJECT_SOURCE_DIR}/src/ModelAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
${SUIT_INCLUDE}
)
TARGET_LINK_LIBRARIES(ModuleBase GeomAPI ${PROJECT_LIBRARIES})
INSTALL(TARGETS ModuleBase DESTINATION bin)
+
#SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES})
SOURCE_GROUP ("Resource Files" FILES ${PROJECT_RESOURCES})
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/XGUI
- ${CMAKE_SOURCE_DIR}/src/Config
- ${CMAKE_SOURCE_DIR}/src/Events
- ${CMAKE_SOURCE_DIR}/src/ModuleBase
- ${CMAKE_SOURCE_DIR}/src/ModelAPI
- ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
- ${CMAKE_SOURCE_DIR}/src/GeomAlgoAPI
- ${CMAKE_SOURCE_DIR}/src/SketchPlugin
- ${CMAKE_SOURCE_DIR}/src/ExchangePlugin
- ${CMAKE_SOURCE_DIR}/src/SketcherPrs
- ${CMAKE_SOURCE_DIR}/src/FeaturesPlugin
- ${CMAKE_SOURCE_DIR}/src/PartSetPlugin
- ${CMAKE_SOURCE_DIR}/src/GeomAPI
- ${CMAKE_SOURCE_DIR}/src/AppElements
+INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/XGUI
+ ${PROJECT_SOURCE_DIR}/src/Config
+ ${PROJECT_SOURCE_DIR}/src/Events
+ ${PROJECT_SOURCE_DIR}/src/ModuleBase
+ ${PROJECT_SOURCE_DIR}/src/ModelAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
+ ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
+ ${PROJECT_SOURCE_DIR}/src/SketchPlugin
+ ${PROJECT_SOURCE_DIR}/src/ExchangePlugin
+ ${PROJECT_SOURCE_DIR}/src/SketcherPrs
+ ${PROJECT_SOURCE_DIR}/src/FeaturesPlugin
+ ${PROJECT_SOURCE_DIR}/src/PartSetPlugin
+ ${PROJECT_SOURCE_DIR}/src/GeomAPI
${CAS_INCLUDE_DIRS}
${SUIT_INCLUDE}
)
+IF(NOT ${HAVE_SALOME})
+ INCLUDE_DIRECTORIES(${APPELEMENTS_INCLUDE_DIR})
+ENDIF(NOT ${HAVE_SALOME})
+
ADD_DEFINITIONS(-DPARTSET_EXPORTS ${CAS_DEFINITIONS})
ADD_LIBRARY(PartSet SHARED
${PROJECT_SOURCES}
INSTALL(TARGETS PartSet DESTINATION bin)
#INSTALL(FILES ${QM_RESOURCES} DESTINATION bin)
+
${SUIT_INCLUDE})
IF(NOT ${HAVE_SALOME})
- SET(PROJECT_INCLUDES ${PROJECT_INCLUDES} ${PROJECT_SOURCE_DIR}/src/AppElements)
+ SET(PROJECT_INCLUDES ${PROJECT_INCLUDES} ${APPELEMENTS_INCLUDE_DIR})
ENDIF(NOT ${HAVE_SALOME})
INCLUDE_DIRECTORIES(${PROJECT_INCLUDES})
INSTALL(TARGETS XGUI DESTINATION bin)
INSTALL(FILES ${QM_RESOURCES} DESTINATION bin)
INSTALL(FILES ${PREFERENCES_XML} DESTINATION resources)
+