]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PrimitivesPlugin/CMakeLists.txt
Salome HOME
updated copyright message
[modules/shaper.git] / src / PrimitivesPlugin / CMakeLists.txt
index 0e04ab120b1244c9d5ae6fc0b86fd19786e4c6ac..aadcdc40c95f4f1e1de80a45f39477a44b22d045 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -25,6 +25,7 @@ SET(PROJECT_HEADERS
     PrimitivesPlugin_Cylinder.h
     PrimitivesPlugin_Sphere.h
     PrimitivesPlugin_Torus.h
+    PrimitivesPlugin_Tube.h
 )
 
 SET(PROJECT_SOURCES
@@ -34,6 +35,7 @@ SET(PROJECT_SOURCES
     PrimitivesPlugin_Cylinder.cpp
     PrimitivesPlugin_Sphere.cpp
     PrimitivesPlugin_Torus.cpp
+    PrimitivesPlugin_Tube.cpp
 )
 
 SET(XML_RESOURCES
@@ -43,8 +45,16 @@ SET(XML_RESOURCES
   cylinder_widget.xml
   sphere_widget.xml
   torus_widget.xml
+  tube_widget.xml
 )
 
+SET(TEXT_RESOURCES
+    PrimitivesPlugin_msg_fr.ts
+)
+
+SOURCE_GROUP ("XML Files" FILES ${XML_RESOURCES})
+SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
+
 INCLUDE_DIRECTORIES(
   ../ModelAPI
   ../GeomAPI
@@ -60,11 +70,11 @@ SET(PROJECT_LIBRARIES
 )
 
 ADD_DEFINITIONS(-DPRIMITIVESPLUGIN_EXPORTS)
-ADD_LIBRARY(PrimitivesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
+ADD_LIBRARY(PrimitivesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
 TARGET_LINK_LIBRARIES(PrimitivesPlugin ${PROJECT_LIBRARIES})
 
 INSTALL(TARGETS PrimitivesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
-INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
+INSTALL(FILES ${XML_RESOURCES} ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Primitives)