blob: 7af5f9c51a64be49d8793b9789200ca15e88cce3 (
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
|
#
#
#
#
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_SOURCE_DIR}/all.h"
)
set_source_files_properties( dspSSE.cpp
PROPERTIES COMPILE_FLAGS "-x assembler"
)
add_dependencies(al ${PROJECT_SOURCE_DIR}/all.h.pch)
|