blob: 6e2881b8fadac6b4172fd3481d93e8b1b9c87324 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#
#
#
#
include(${PROJECT_SOURCE_DIR}/pch.txt)
set (al_src
al.cpp sig.cpp xml.cpp dsp.cpp
)
if (USE_SSE)
set(al_src ${al_src} dspSSE.cpp dspXMM.cpp)
endif (USE_SSE)
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
PROPERTIES COMPILE_FLAGS "-fPIC -include ${PROJECT_BINARY_DIR}/all.h"
)
set_source_files_properties( dspSSE.cpp
PROPERTIES COMPILE_FLAGS "-x assembler"
)
|