Move python module prefix and suffix properties into macro to be set together

This commit is contained in:
mdinger
2014-05-01 12:02:07 -04:00
committed by wmayer
parent e6278d56b9
commit 1498e99cef
45 changed files with 59 additions and 190 deletions

View File

@@ -31,9 +31,6 @@ fc_target_copy_resource(Complete
Init.py)
SET_BIN_DIR(Complete Complete /Mod/Complete)
if(WIN32)
set_target_properties(Complete PROPERTIES PREFIX "")
set_target_properties(Complete PROPERTIES SUFFIX ".pyd")
endif(WIN32)
SET_PYTHON_PREFIX_SUFFIX(Complete)
INSTALL(TARGETS Complete DESTINATION lib)

View File

@@ -37,9 +37,6 @@ fc_target_copy_resource(CompleteGui
InitGui.py)
SET_BIN_DIR(CompleteGui CompleteGui /Mod/Complete)
if(WIN32)
set_target_properties(CompleteGui PROPERTIES PREFIX "")
set_target_properties(CompleteGui PROPERTIES SUFFIX ".pyd")
endif(WIN32)
SET_PYTHON_PREFIX_SUFFIX(CompleteGui)
install(TARGETS CompleteGui DESTINATION lib)