diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-19 08:57:19 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-19 08:57:19 +0000 |
commit | 520e889a3e58fdaa99a0c13a40d1c3e4affe60b1 (patch) | |
tree | 3e671e957f24f22f6d2d540cde8634848069445e /muse2/muse/remote | |
parent | 54dd5ec68d550408be99118c59df2a91c33183f7 (diff) |
Split individual parts into their own shared libraries. Moved main() into its own file.
Diffstat (limited to 'muse2/muse/remote')
-rw-r--r-- | muse2/muse/remote/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/remote/CMakeLists.txt b/muse2/muse/remote/CMakeLists.txt index d137b683..01605975 100644 --- a/muse2/muse/remote/CMakeLists.txt +++ b/muse2/muse/remote/CMakeLists.txt @@ -9,13 +9,15 @@ file (GLOB remote_src pyapi.cpp ) -add_library(remote STATIC +add_library(remote SHARED ${remote_src} ${PROJECT_BINARY_DIR}/all.h.pch ) set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${remote_src} CACHE INTERNAL "") +install(TARGETS remote DESTINATION ${MUSE_MODULES_DIR}) + set_source_files_properties( pyapi.cpp PROPERTIES COMPILE_FLAGS "-fPIC -include ${PROJECT_BINARY_DIR}/all.h -include ${PYTHON_INCLUDES} -DENABLE_PYTHON" |