blob: b5726f8cdc627170ab8c9b851e9d2526de2fb243 (
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
|
#
#
#
#
set (al_src
al.cpp marker.cpp pos.cpp sig.cpp tempo.cpp xml.cpp
dsp.cpp
)
if (USE_SSE)
set(al_src ${al_src} dspSSE.cpp dspXMM.cpp)
endif (USE_SSE)
add_library(al STATIC
${al_src}
)
set_source_files_properties(
al.cpp marker.cpp pos.cpp sig.cpp tempo.cpp xml.cpp
dsp.cpp
dspXMM.cpp
PROPERTIES COMPILE_FLAGS "-msse2 -fPIC -include ${PROJECT_SOURCE_DIR}/all.h"
)
set_source_files_properties( dspSSE.cpp
PROPERTIES COMPILE_FLAGS "-x assembler"
)
add_dependencies(al ${PROJECT_SOURCE_DIR}/all.h.pch)
|