Add initial support for different libdir (jobermayr)

This commit is contained in:
wmayer
2014-05-10 12:57:38 +02:00
parent 33a4b6d7ba
commit 6b89c03181
52 changed files with 81 additions and 76 deletions

View File

@@ -108,6 +108,7 @@ SET(PartDesign_Scripts
Scripts/Gear.py
Scripts/DistanceBolt.py
Scripts/Epitrochoid.py
Scripts/FilletArc.py
Scripts/RadialCopy.py
Scripts/Parallelepiped.py
Scripts/Spring.py
@@ -127,11 +128,8 @@ fc_target_copy_resource(PartDesign
${CMAKE_BINARY_DIR}/Mod/PartDesign
${PartDesign_Scripts})
# See link for why this module is installed differently from the other modules:
# http://forum.freecadweb.org/viewtopic.php?f=19&t=5444
SET_BIN_DIR(PartDesign PartDesign /Mod/PartDesign /Mod/PartDesign)
SET_BIN_DIR(PartDesign PartDesign /Mod/PartDesign)
SET_PYTHON_PREFIX_SUFFIX(PartDesign)
# The PartDesign module must go to where the __init__.py file is
INSTALL(TARGETS PartDesign DESTINATION Mod/PartDesign)
INSTALL(TARGETS PartDesign DESTINATION ${CMAKE_INSTALL_LIBDIR})

View File

@@ -189,11 +189,8 @@ fc_target_copy_resource(PartDesignGui
${CMAKE_BINARY_DIR}/Mod/PartDesign
${PartDesignGui_Scripts})
# See link for why this module is installed differently from the other modules:
# http://forum.freecadweb.org/viewtopic.php?f=19&t=5444
SET_BIN_DIR(PartDesignGui PartDesignGui /Mod/PartDesign /Mod/PartDesign)
SET_BIN_DIR(PartDesignGui PartDesignGui /Mod/PartDesign)
SET_PYTHON_PREFIX_SUFFIX(PartDesignGui)
# The PartDesign module must go to where the __init__.py file is
INSTALL(TARGETS PartDesignGui DESTINATION Mod/PartDesign)
INSTALL(TARGETS PartDesignGui DESTINATION ${CMAKE_INSTALL_LIBDIR})

View File

@@ -25,7 +25,6 @@
#* Juergen Riegel 2002 *
#***************************************************************************/
class PartDesignDocument:
"PartDesign document"
def Info(self):

View File

@@ -1,2 +1,2 @@
import PartDesign
makeFilletArc = PartDesign.makeFilletArc
import Scripts.FilletArc
makeFilletArc = Scripts.FilletArc.makeFilletArc