1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 IF(NOT DEFINED ENV{FREETYPE_DIR})
4 SET(ENV{FREETYPE_DIR} $ENV{FREETYPE_ROOT_DIR})
6 FIND_PACKAGE(Freetype REQUIRED)
10 SketcherPrs_Coincident.h
11 SketcherPrs_Collinear.h
12 SketcherPrs_DimensionStyleListener.h
14 SketcherPrs_Parallel.h
16 SketcherPrs_Perpendicular.h
17 SketcherPrs_SymbolPrs.h
18 SketcherPrs_PositionMgr.h
20 SketcherPrs_HVDirection.h
23 SketcherPrs_SensitivePoint.h
25 SketcherPrs_LengthDimension.h
28 SketcherPrs_Transformation.h
33 SketcherPrs_Coincident.cpp
34 SketcherPrs_Collinear.cpp
35 SketcherPrs_DimensionStyleListener.cpp
36 SketcherPrs_Factory.cpp
37 SketcherPrs_Parallel.cpp
39 SketcherPrs_Perpendicular.cpp
40 SketcherPrs_SymbolPrs.cpp
41 SketcherPrs_PositionMgr.cpp
43 SketcherPrs_HVDirection.cpp
45 SketcherPrs_Tangent.cpp
46 SketcherPrs_SensitivePoint.cpp
47 SketcherPrs_Radius.cpp
48 SketcherPrs_LengthDimension.cpp
49 SketcherPrs_Middle.cpp
50 SketcherPrs_Mirror.cpp
51 SketcherPrs_Transformation.cpp
72 SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} opengl32)
74 SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} GL)
81 icons/perpendicular.png
93 ADD_DEFINITIONS(-DSKETCHERPRS_EXPORTS ${CAS_DEFINITIONS} -D_CRT_SECURE_NO_WARNINGS)
94 ADD_LIBRARY(SketcherPrs SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
97 ${PROJECT_SOURCE_DIR}/src/Config
98 ${PROJECT_SOURCE_DIR}/src/Events
99 ${PROJECT_SOURCE_DIR}/src/ModelAPI
100 ${PROJECT_SOURCE_DIR}/src/ModelGeomAlgo
101 ${PROJECT_SOURCE_DIR}/src/GeomAPI
102 ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
103 ${PROJECT_SOURCE_DIR}/src/SketchPlugin
105 ${FREETYPE_INCLUDE_DIRS}
108 TARGET_LINK_LIBRARIES(SketcherPrs ${PROJECT_LIBRARIES})
110 INSTALL(TARGETS SketcherPrs DESTINATION ${SHAPER_INSTALL_BIN})
111 INSTALL(FILES ${PROJECT_PICTURES} DESTINATION ${SHAPER_INSTALL_RESOURCES})