From 520e889a3e58fdaa99a0c13a40d1c3e4affe60b1 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Sun, 19 Dec 2010 08:57:19 +0000 Subject: Split individual parts into their own shared libraries. Moved main() into its own file. --- muse2/al/CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'muse2/al/CMakeLists.txt') diff --git a/muse2/al/CMakeLists.txt b/muse2/al/CMakeLists.txt index 12df9a72..6e2881b8 100644 --- a/muse2/al/CMakeLists.txt +++ b/muse2/al/CMakeLists.txt @@ -13,11 +13,21 @@ if (USE_SSE) set(al_src ${al_src} dspSSE.cpp dspXMM.cpp) endif (USE_SSE) -add_library(al STATIC +add_library(al SHARED ${al_src} ${PROJECT_BINARY_DIR}/all.h.pch ) +install(TARGETS al DESTINATION ${MUSE_MODULES_DIR}) + +target_link_libraries ( al + ${QT_LIBRARIES} + ) + +set_target_properties( al + PROPERTIES OUTPUT_NAME muse_al + ) + set_source_files_properties( al.cpp sig.cpp xml.cpp dsp.cpp dspXMM.cpp -- cgit v1.2.3