diff options
author | Robert Jonsson <spamatica@gmail.com> | 2006-05-25 21:59:03 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2006-05-25 21:59:03 +0000 |
commit | fafdcee7d3d7078905f5658824041996dac5a619 (patch) | |
tree | 0219b0052b74dc84ee925cb25a407b1b2bd92a55 /muse/awl/CMakeLists.txt | |
parent | 1cbcb104ff205e68141eac9ca078937a8a7755ce (diff) |
Partial MAC OSX support.
Hopefully I didn't break too many things
Diffstat (limited to 'muse/awl/CMakeLists.txt')
-rw-r--r-- | muse/awl/CMakeLists.txt | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/muse/awl/CMakeLists.txt b/muse/awl/CMakeLists.txt index df3cf551..3d8e1499 100644 --- a/muse/awl/CMakeLists.txt +++ b/muse/awl/CMakeLists.txt @@ -43,17 +43,26 @@ WRAP_CPP(mocCPP ${mocs}) QT4_WRAP_CPP (moc_headers ${mocH}) -set ( awl_src awl.cpp utils.cpp ${mocCPP} ${moc_headers} ) +set(awl_src + awl.cpp utils.cpp ${mocCPP} ${moc_headers} + ) add_library ( awl STATIC ${awl_src} ) set_target_properties( awl - PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all.h" + PROPERTIES COMPILE_FLAGS "-fPIC -include ${PROJECT_BINARY_DIR}/all.h" ) -add_library ( awlplugin SHARED ${awl_src} awlplugin.cpp ) -set_target_properties( awlplugin - PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all-pic.h" - ) +IF (APPLE) + message("Not yet able to build awlplugin under OS X.") +ELSE (APPLE) + + add_library ( awlplugin SHARED ${awl_src} + awlplugin.cpp ) + set_target_properties( awlplugin + PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all-pic.h" + ) + + install_targets ( /lib/${MusE_INSTALL_NAME}/designer/ awlplugin ) -install_targets ( /lib/${MusE_INSTALL_NAME}/designer/ awlplugin ) +ENDIF (APPLE) |