|
From: Lasse Kärkkäi. <tr...@us...> - 2009-09-23 15:10:15
|
Module: performous Branch: master Commit: 8b39e386b81c148656b01080c2924fbd8b33a320 Author: Lasse Karkkainen <tro...@tr...> Date: Wed Sep 23 18:09:11 2009 +0300 Make the editor optional and default to not building it. --- CMakeLists.txt | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 290f236..6ff8338 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,9 +29,14 @@ add_subdirectory(libs) add_subdirectory(themes) add_subdirectory(data) add_subdirectory(game) -add_subdirectory(editor) add_subdirectory(docs) +option(ENABLE_EDITOR "Enable experimental song editor (doesn't work)" OFF) + +if (ENABLE_EDITOR) + add_subdirectory(editor) +endif (ENABLE_EDITOR) + option(ENABLE_TOOLS "Enable extra tools (e.g. Singstar ripper)" ON) if (ENABLE_TOOLS) |