blob: ef819f5ca84358c2b8b48af617abc0ae974ca137 (
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
|
#
#
#
#
include(${PROJECT_SOURCE_DIR}/pch.txt)
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}
${PROJECT_BINARY_DIR}/all.h.pch
)
set_source_files_properties(
al.cpp marker.cpp pos.cpp sig.cpp tempo.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"
)
|