Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using test for testing number of sub-shapes.
[modules/shaper.git]
/
src
/
SketchSolver
/
CMakeLists.txt
diff --git
a/src/SketchSolver/CMakeLists.txt
b/src/SketchSolver/CMakeLists.txt
index b2eb5473852d5c464dc5cd6f91822e05421a5bbe..e9d81431616c6317a278438d0b309c7c34abdd81 100644
(file)
--- a/
src/SketchSolver/CMakeLists.txt
+++ b/
src/SketchSolver/CMakeLists.txt
@@
-12,6
+12,7
@@
SET(PROJECT_HEADERS
SketchSolver_ConstraintDistance.h
SketchSolver_ConstraintEqual.h
SketchSolver_ConstraintLength.h
SketchSolver_ConstraintDistance.h
SketchSolver_ConstraintEqual.h
SketchSolver_ConstraintLength.h
+ SketchSolver_ConstraintMiddle.h
SketchSolver_ConstraintMirror.h
SketchSolver_ConstraintFixed.h
SketchSolver_ConstraintFixedArcRadius.h
SketchSolver_ConstraintMirror.h
SketchSolver_ConstraintFixed.h
SketchSolver_ConstraintFixedArcRadius.h
@@
-38,6
+39,7
@@
SET(PROJECT_SOURCES
SketchSolver_ConstraintDistance.cpp
SketchSolver_ConstraintEqual.cpp
SketchSolver_ConstraintLength.cpp
SketchSolver_ConstraintDistance.cpp
SketchSolver_ConstraintEqual.cpp
SketchSolver_ConstraintLength.cpp
+ SketchSolver_ConstraintMiddle.cpp
SketchSolver_ConstraintMirror.cpp
SketchSolver_ConstraintFixed.cpp
SketchSolver_ConstraintFixedArcRadius.cpp
SketchSolver_ConstraintMirror.cpp
SketchSolver_ConstraintFixed.cpp
SketchSolver_ConstraintFixedArcRadius.cpp
@@
-60,6
+62,10
@@
SET(PROJECT_LIBRARIES
GeomDataAPI
)
GeomDataAPI
)
+SET(TEXT_RESOURCES
+ SketchSolver_msg_en.ts
+)
+
INCLUDE_DIRECTORIES(
${PROJECT_SOURCE_DIR}/src/Config
${PROJECT_SOURCE_DIR}/src/SketchPlugin
INCLUDE_DIRECTORIES(
${PROJECT_SOURCE_DIR}/src/Config
${PROJECT_SOURCE_DIR}/src/SketchPlugin
@@
-69,15
+75,18
@@
INCLUDE_DIRECTORIES(
${PROJECT_SOURCE_DIR}/src/Events
)
${PROJECT_SOURCE_DIR}/src/Events
)
+SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
+
ADD_DEFINITIONS(-DSKETCHSOLVER_EXPORTS)
ADD_DEFINITIONS(-DSKETCHSOLVER_EXPORTS)
-ADD_LIBRARY(SketchSolver SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS}
+ADD_LIBRARY(SketchSolver SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS}
${TEXT_RESOURCES}
)
TARGET_LINK_LIBRARIES(SketchSolver ${PROJECT_LIBRARIES}
)
INSTALL(TARGETS SketchSolver DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
)
TARGET_LINK_LIBRARIES(SketchSolver ${PROJECT_LIBRARIES}
)
INSTALL(TARGETS SketchSolver DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
+INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
# Include specific solvers
# Include specific solvers