summaryrefslogtreecommitdiff
path: root/muse/al/CMakeLists.txt
blob: 7a53493b286d4b4d18351ec605f47e272d0f2f77 (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 "-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)