cmake changes for /Mod/TechDraw
This commit is contained in:
@@ -129,3 +129,7 @@ endif(BUILD_PATH)
|
||||
if(BUILD_SHOW)
|
||||
add_subdirectory(Show)
|
||||
endif(BUILD_SHOW)
|
||||
|
||||
if(BUILD_TECHDRAW)
|
||||
add_subdirectory(TechDraw)
|
||||
endif(BUILD_TECHDRAW)
|
||||
|
||||
29
src/Mod/TechDraw/CMakeLists.txt
Normal file
29
src/Mod/TechDraw/CMakeLists.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
add_definitions(-DMOD_TECHDRAW_HANDLE_FACES=0)
|
||||
|
||||
add_subdirectory(App)
|
||||
if(BUILD_GUI)
|
||||
add_subdirectory(Gui)
|
||||
endif(BUILD_GUI)
|
||||
|
||||
INSTALL(
|
||||
FILES
|
||||
Init.py
|
||||
InitGui.py
|
||||
DrawingAlgos.py
|
||||
DrawingExample.py
|
||||
DrawingTests.py
|
||||
DrawingPatterns.py
|
||||
DESTINATION
|
||||
Mod/Drawing
|
||||
)
|
||||
|
||||
INSTALL(
|
||||
DIRECTORY
|
||||
Templates
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_DATADIR}/Mod/Drawing
|
||||
FILES_MATCHING
|
||||
PATTERN "*.svg*"
|
||||
PATTERN "*.dxf*"
|
||||
)
|
||||
Reference in New Issue
Block a user