Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / editors / CMakeLists.txt
blob1f730d83db928fa398dec116b0b4fc1c307496fe
2 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
3         option(SC_EL "Build emacs-based IDE." ON)
4     option(SC_ED "Build gedit-based IDE." ON)
5     option(SC_VIM "Build vim-based IDE." ON)
6 else()
7         option(SC_EL "Build emacs-based IDE." OFF)
8     option(SC_ED "Build gedit-based IDE." OFF)
9     option(SC_VIM "Build vim-based IDE." OFF)
10 endif()
12 if(SC_IDE)
13         message(STATUS "Building the Qt IDE")
14         add_subdirectory(sc-ide)
15 endif()
17 if(SC_EL)
18         add_subdirectory(scel)
19 endif()
21 if(SC_ED)
22         add_subdirectory(sced)
23 endif()
25 if(SC_VIM)
26         add_subdirectory(scvim)
27 endif()