summaryrefslogtreecommitdiff
path: root/muse2/synti/libsynti
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-19 08:57:19 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-19 08:57:19 +0000
commit520e889a3e58fdaa99a0c13a40d1c3e4affe60b1 (patch)
tree3e671e957f24f22f6d2d540cde8634848069445e /muse2/synti/libsynti
parent54dd5ec68d550408be99118c59df2a91c33183f7 (diff)
Split individual parts into their own shared libraries. Moved main() into its own file.
Diffstat (limited to 'muse2/synti/libsynti')
-rw-r--r--muse2/synti/libsynti/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/muse2/synti/libsynti/CMakeLists.txt b/muse2/synti/libsynti/CMakeLists.txt
index 94137c70..0b257249 100644
--- a/muse2/synti/libsynti/CMakeLists.txt
+++ b/muse2/synti/libsynti/CMakeLists.txt
@@ -31,17 +31,20 @@ file (GLOB SOURCE_FILES
## mpevent.cpp
)
-add_library(synti
+add_library(synti SHARED
${PROJECT_BINARY_DIR}/all-pic.h.pch
${SOURCE_FILES}
)
set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} CACHE INTERNAL "")
+install(TARGETS synti DESTINATION ${MUSE_MODULES_DIR})
+
#
# -fPIC is necessary for 64 bit systems
#
set_target_properties( synti
PROPERTIES COMPILE_FLAGS "-fPIC -include ${PROJECT_BINARY_DIR}/all-pic.h"
+ OUTPUT_NAME muse_synti
)