From 52fb3563924ed842d417c4f69e32ad45ff4ef70c Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 16 Feb 2012 21:22:42 +0100 Subject: [PATCH] Fix INSTALL target in cmake files --- src/Mod/Drawing/CMakeLists.txt | 3 +++ src/Mod/Fem/CMakeLists.txt | 2 ++ src/Mod/Part/CMakeLists.txt | 3 +++ src/Mod/PartDesign/CMakeLists.txt | 17 +++++++++++++++++ src/Mod/Raytracing/CMakeLists.txt | 1 + src/Mod/Robot/CMakeLists.txt | 4 ++++ src/Mod/Sketcher/CMakeLists.txt | 4 ++++ src/Mod/Test/Gui/CMakeLists.txt | 5 +++++ 8 files changed, 39 insertions(+) diff --git a/src/Mod/Drawing/CMakeLists.txt b/src/Mod/Drawing/CMakeLists.txt index 449046bd5d..e41aa509c6 100644 --- a/src/Mod/Drawing/CMakeLists.txt +++ b/src/Mod/Drawing/CMakeLists.txt @@ -8,6 +8,9 @@ INSTALL( FILES Init.py InitGui.py + DrawingAlgos.py + DrawingExample.py + DrawingTests.py DESTINATION Mod/Drawing ) diff --git a/src/Mod/Fem/CMakeLists.txt b/src/Mod/Fem/CMakeLists.txt index 2122e87171..4c42843aea 100644 --- a/src/Mod/Fem/CMakeLists.txt +++ b/src/Mod/Fem/CMakeLists.txt @@ -8,6 +8,8 @@ INSTALL( FILES Init.py InitGui.py + convert2TetGen.py + FemExample.py DESTINATION Mod/Fem ) diff --git a/src/Mod/Part/CMakeLists.txt b/src/Mod/Part/CMakeLists.txt index 3f9ac4f8c1..06ebf2ce66 100644 --- a/src/Mod/Part/CMakeLists.txt +++ b/src/Mod/Part/CMakeLists.txt @@ -8,6 +8,9 @@ INSTALL( FILES Init.py InitGui.py + MakeBottle.py + TestPartApp.py + TestPartGui.py DESTINATION Mod/Part ) diff --git a/src/Mod/PartDesign/CMakeLists.txt b/src/Mod/PartDesign/CMakeLists.txt index 3a7a0cc482..d004204842 100644 --- a/src/Mod/PartDesign/CMakeLists.txt +++ b/src/Mod/PartDesign/CMakeLists.txt @@ -6,8 +6,25 @@ endif(FREECAD_BUILD_GUI) INSTALL( FILES + __init__.py Init.py InitGui.py + TestPartDesignApp.py + TestPartDesignGui.py DESTINATION Mod/PartDesign ) + +INSTALL( + FILES + Scripts/__init__.py + Scripts/Gear.py + Scripts/DistanceBolt.py + Scripts/Epitrochoid.py + Scripts/RadialCopy.py + Scripts/Parallelepiped.py + Scripts/Spring.py + DESTINATION + Mod/PartDesign/Scripts +) + diff --git a/src/Mod/Raytracing/CMakeLists.txt b/src/Mod/Raytracing/CMakeLists.txt index 9cb6bec71d..42aa28ce39 100644 --- a/src/Mod/Raytracing/CMakeLists.txt +++ b/src/Mod/Raytracing/CMakeLists.txt @@ -8,6 +8,7 @@ INSTALL( FILES Init.py InitGui.py + RaytracingExample.py DESTINATION Mod/Raytracing ) diff --git a/src/Mod/Robot/CMakeLists.txt b/src/Mod/Robot/CMakeLists.txt index fb292b6874..0850be036b 100644 --- a/src/Mod/Robot/CMakeLists.txt +++ b/src/Mod/Robot/CMakeLists.txt @@ -8,6 +8,10 @@ INSTALL( FILES Init.py InitGui.py + KukaExporter.py + MovieTool.py + RobotExample.py + RobotExampleTrajectoryOutOfShapes.py DESTINATION Mod/Robot ) diff --git a/src/Mod/Sketcher/CMakeLists.txt b/src/Mod/Sketcher/CMakeLists.txt index 9966c52ba8..703e561b26 100644 --- a/src/Mod/Sketcher/CMakeLists.txt +++ b/src/Mod/Sketcher/CMakeLists.txt @@ -8,6 +8,10 @@ INSTALL( FILES Init.py InitGui.py + SketcherExample.py + TestSketcherApp.py + TestSketcherGui.py DESTINATION Mod/Sketcher ) + diff --git a/src/Mod/Test/Gui/CMakeLists.txt b/src/Mod/Test/Gui/CMakeLists.txt index 4ec2b53c51..30b98365fe 100644 --- a/src/Mod/Test/Gui/CMakeLists.txt +++ b/src/Mod/Test/Gui/CMakeLists.txt @@ -44,6 +44,9 @@ SET(TestGui_SRCS PreCompiled.cpp PreCompiled.h ) +SET(TestGuiPy_SRCS + qtunittest.py +) add_library(QtUnitGui SHARED ${TestGui_SRCS}) @@ -69,3 +72,5 @@ else(MSVC) endif(MSVC) INSTALL(TARGETS QtUnitGui DESTINATION lib) +INSTALL(FILES ${TestGuiPy_SRCS} DESTINATION Mod/Test) +