scide: avoid recursive calls to Main::instance
[supercollider.git] / server / CMakeLists.txt
blob3507c654a73b85405f0791e6b53ff7c4fc33fdd9
1 if (NOT APPLE AND NOT WIN32)
2         # on apple we leave this undefined so it defaults to .scx (in the code)
3         add_definitions("-DSC_PLUGIN_EXT=\".so\"")
4 endif()
6 include_directories(${CMAKE_SOURCE_DIR}/external_libraries
7                                         ${CMAKE_SOURCE_DIR}/external_libraries/boost-lockfree
8                                         ${CMAKE_SOURCE_DIR}/external_libraries/nova-simd
9                                         ${CMAKE_SOURCE_DIR}/external_libraries/nova-tt
10                                         )
13 if (Boost_FOUND)
14         include_directories(${Boost_INCLUDE_DIRS})
15 else()
16         include_directories(${CMAKE_SOURCE_DIR}/external_libraries/boost)
17 endif()
20 add_subdirectory(plugins)
21 add_subdirectory(scsynth)
23 if (SUPERNOVA)
24         add_subdirectory(supernova)
25 endif()