Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git] / src / PartSet / CMakeLists.txt
index f8ce75a9284e361031176740707b573870993020..a1c50ac6604f75f4e672a8053519ea02dd043504 100644 (file)
@@ -1,28 +1,50 @@
 INCLUDE(Common)
-INCLUDE(FindCAS)
 
 SET(CMAKE_AUTOMOC ON)
 
 SET(PROJECT_HEADERS
        PartSet.h
+       PartSet_Constants.h
+       PartSet_FeatureCirclePrs.h
+       PartSet_FeaturePrs.h
+       PartSet_FeatureLinePrs.h
+       PartSet_FeaturePointPrs.h
+       PartSet_Listener.h
        PartSet_Module.h
+       PartSet_OperationConstraint.h
+       PartSet_OperationCreateFeature.h
+       PartSet_OperationEditLine.h
        PartSet_OperationSketchBase.h
-    PartSet_OperationSketch.h
+       PartSet_OperationSketch.h
+       PartSet_Presentation.h
+       PartSet_TestOCC.h
+       PartSet_Tools.h
 )
 
 SET(PROJECT_SOURCES
+       PartSet_FeaturePrs.cpp
+       PartSet_FeatureCirclePrs.cpp
+       PartSet_FeatureLinePrs.cpp
+       PartSet_FeaturePointPrs.cpp
+       PartSet_Listener.cpp
        PartSet_Module.cpp
+       PartSet_OperationConstraint.cpp
+       PartSet_OperationCreateFeature.cpp
+       PartSet_OperationEditLine.cpp
        PartSet_OperationSketchBase.cpp
        PartSet_OperationSketch.cpp
+       PartSet_Presentation.cpp
+       PartSet_TestOCC.cpp
+       PartSet_Tools.cpp
 )
 
 SET(PROJECT_RESOURCES 
     PartSet_icons.qrc
 )
 
-SET(TEXT_RESOURCES
-       PartSet_msg_en.ts
-)
+#SET(TEXT_RESOURCES
+#      PartSet_msg_fr.ts
+#)
 
 SET(PROJECT_LIBRARIES
     ModuleBase
@@ -37,14 +59,22 @@ SET(PROJECT_AUTOMOC
 )
 
 QT4_ADD_RESOURCES(PROJECT_COMPILED_RESOURCES ${PROJECT_RESOURCES})
-QT4_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+#QT4_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
+#QT4_CREATE_TRANSLATION(QM_RESOURCES 
+#                                         ${PROJECT_SOURCES}
+#                                         ${TEXT_RESOURCES}
+#                                         OPTIONS -extensions cpp -no-recursive
+#                                         )
 
-SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
-SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES} ${PROJECT_RESOURCES})
+#SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES} ${QM_RESOURCES})
+SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC} ${PROJECT_COMPILED_RESOURCES})
+#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/Model
                     ${CMAKE_SOURCE_DIR}/src/ModuleBase
                     ${CMAKE_SOURCE_DIR}/src/ModelAPI
                     ${CMAKE_SOURCE_DIR}/src/GeomDataAPI
@@ -59,13 +89,14 @@ ADD_LIBRARY(PartSet SHARED
        ${PROJECT_SOURCES} 
        ${PROJECT_HEADERS} 
        ${PROJECT_COMPILED_RESOURCES} 
-       ${TEXT_RESOURCES} 
-       ${QM_RESOURCES}
+#      ${TEXT_RESOURCES} 
+#      ${QM_RESOURCES}
 )
 
 # The Qt5Widgets_LIBRARIES variable also includes QtGui and QtCore
-TARGET_LINK_LIBRARIES(PartSet ${PROJECT_LIBRARIES} XGUI ModelAPI GeomAlgoAPI)
+TARGET_LINK_LIBRARIES(PartSet ${PROJECT_LIBRARIES} XGUI ModelAPI Model GeomAlgoAPI)
 
 ADD_DEPENDENCIES(PartSet ModuleBase)
 
 INSTALL(TARGETS PartSet DESTINATION bin)
+#INSTALL(FILES ${QM_RESOURCES} DESTINATION bin)
\ No newline at end of file