subshapes_widget.xml
)
+SET(TEXT_RESOURCES
+ BuildPlugin_msg_en.ts
+)
+
+SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
+
SET(PROJECT_LIBRARIES
Events
Config
)
ADD_DEFINITIONS(-DBUILDPLUGIN_EXPORTS)
-ADD_LIBRARY(BuildPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
+ADD_LIBRARY(BuildPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
TARGET_LINK_LIBRARIES(BuildPlugin ${PROJECT_LIBRARIES})
INSTALL(TARGETS BuildPlugin 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/Build)
ADD_UNIT_TESTS(TestVertex.py
plane_widget.xml
)
+SET(TEXT_RESOURCES
+ ConstructionPlugin_msg_en.ts
+)
+
SET(PROJECT_LIBRARIES
Config
ModelAPI
GeomAlgoAPI
)
+SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
+
ADD_DEFINITIONS(-DCONSTRUCTIONPLUGIN_EXPORTS)
-ADD_LIBRARY(ConstructionPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
+ADD_LIBRARY(ConstructionPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
TARGET_LINK_LIBRARIES(ConstructionPlugin ${PROJECT_LIBRARIES})
INSTALL(TARGETS ConstructionPlugin 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/Construction)
INCLUDE_DIRECTORIES(
)
SET(TEXT_RESOURCES
- ExchangePlugin_msg_en.ts
+ ExchangePlugin_msg_en.ts
)
SET(PROJECT_LIBRARIES
)
SET(TEXT_RESOURCES
- FeaturesPlugin_msg_en.ts
+ FeaturesPlugin_msg_en.ts
)
SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})