summaryrefslogtreecommitdiff
path: root/muse2/awl/CMakeLists.txt
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/awl/CMakeLists.txt
parent54dd5ec68d550408be99118c59df2a91c33183f7 (diff)
Split individual parts into their own shared libraries. Moved main() into its own file.
Diffstat (limited to 'muse2/awl/CMakeLists.txt')
-rw-r--r--muse2/awl/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/muse2/awl/CMakeLists.txt b/muse2/awl/CMakeLists.txt
index 5ce5a93e..c9b0cc28 100644
--- a/muse2/awl/CMakeLists.txt
+++ b/muse2/awl/CMakeLists.txt
@@ -60,15 +60,23 @@ set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} CACHE INTERNAL "")
add_library (
awl
- STATIC
+ SHARED
${awl_src}
${PROJECT_BINARY_DIR}/all.h.pch
)
+target_link_libraries ( awl
+ ${QT_LIBRARIES}
+ al
+ )
+
set_target_properties( awl
PROPERTIES COMPILE_FLAGS "-fPIC -include ${PROJECT_BINARY_DIR}/all.h"
+ OUTPUT_NAME muse_awl
)
+install(TARGETS awl DESTINATION ${MUSE_MODULES_DIR})
+
# IF (APPLE)
# message("Not yet able to build awlplugin under OS X.")
# ELSE (APPLE)