diff --git a/CMakeLists.txt b/CMakeLists.txt index b37c5b97c4b..89dd0c4d886 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,8 +67,8 @@ set(FIFO_DIR "/var/run/wesnothd" CACHE STRING "Directory for the wesnothd fifo s option(ENABLE_GAME "Enable compilation of the game" ON) option(ENABLE_CAMPAIGN_SERVER "Enable compilation of campaign server") option(ENABLE_SERVER "Enable compilation of server" ON) -option(ENABLE_EDITOR "Enable compilation of map editor (only either EDITOR or EDITOR2 do currently work, not both at the same time!)") -option(ENABLE_EDITOR2 "Enable compilation of the new map editor into the game (EXPERIMENTAL, only either EDITOR or EDITOR2 do currently work, not both at the same time!)") +option(ENABLE_EDITOR "Enable compilation of map editor") +option(ENABLE_EDITOR2 "Enable compilation of the new map editor into the game (EXPERIMENTAL)") option(ENABLE_TOOLS "Enable building and installation of tools for artists and WML maintainers") option(ENABLE_TESTS "Build unit tests") option(ENABLE_NLS "Enable building of tranlations" ON) diff --git a/SConstruct b/SConstruct index f86b94c93df..633558a2abd 100644 --- a/SConstruct +++ b/SConstruct @@ -47,7 +47,7 @@ opts.AddOptions( PathOption('datarootdir', 'sets the root of data directories to a non-default location', "share", PathOption.PathAccept), PathOption('datadirname', 'sets the name of data directory', "wesnoth$version_suffix", PathOption.PathAccept), PathOption('desktopdir', 'sets the desktop entry directory to a non-default location', "$datarootdir/applications", PathOption.PathAccept), - BoolOption('editor2', 'set to build the new map editor in the "wesnoth" target (EXPERIMENTAL, do not use with wesnoth_editor)', False), + BoolOption('editor2', 'set to build the new map editor in the "wesnoth" target (EXPERIMENTAL)', False), PathOption('icondir', 'sets the icons directory to a non-default location', "$datarootdir/icons", PathOption.PathAccept), BoolOption('internal_data', 'Set to put data in Mac OS X application fork', False), PathOption('localedirname', 'sets the locale data directory to a non-default location', "translations", PathOption.PathAccept), diff --git a/configure.ac b/configure.ac index 618f986e732..ca6836583b4 100644 --- a/configure.ac +++ b/configure.ac @@ -240,7 +240,7 @@ AC_ARG_ENABLE([editor], [editor=no]) AC_ARG_ENABLE([editor2], - AS_HELP_STRING([--enable-editor2], [build the new map editor in the game (EXPERIMENTAL, do not use along --enable-editor)]), + AS_HELP_STRING([--enable-editor2], [build the new map editor in the game (EXPERIMENTAL)]), [editor2=$enableval], [editor2=no]) diff --git a/src/SConscript b/src/SConscript index c32e99856fe..5bad5f71ad6 100644 --- a/src/SConscript +++ b/src/SConscript @@ -287,7 +287,7 @@ wesnoth_editor_sources = Split(""" editor/editor_undo.cpp animated_editor.cpp """) -env.WesnothProgram("wesnoth_editor", wesnoth_editor_sources + [libwesnoth_core, libwesnoth_sdl, libwesnoth] + wesnoth_editor_res, have_client_prereqs and not env["editor2"]) +env.WesnothProgram("wesnoth_editor", wesnoth_editor_sources + [libwesnoth_core, libwesnoth_sdl, libwesnoth] + wesnoth_editor_res, have_client_prereqs) campaignd_sources = Split(""" server/input_stream.cpp