mail[Wesnoth-commits] r27299 - /trunk/CMakeLists.txt


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by crazy-ivanovic on June 20, 2008 - 12:39:
Author: ivanovic
Date: Wed Jun 18 21:20:18 2008
New Revision: 27299

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27299&view=rev
Log:
really allow building EDITOR2 now...

Modified:
    trunk/CMakeLists.txt

Modified: trunk/CMakeLists.txt
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/CMakeLists.txt?rev=27299&r1=27298&r2=27299&view=diff
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt Wed Jun 18 21:20:18 2008
@@ -58,8 +58,8 @@
 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")
-option(ENABLE_EDITOR2 "Enable compilation of the new map editor into the 
game")
+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 (only either EDITOR or EDITOR2 do currently work, not both at the same 
time!)")
 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)
@@ -87,6 +87,10 @@
 if(NOT WIN32)
   add_definitions(-DWESNOTH_PATH='\"${DATADIR}\"')
 endif(NOT WIN32)
+
+if(ENABLE_EDITOR2)
+  add_definitions(-DUSE_EDITOR2)
+endif(ENABLE_EDITOR2)
 
 add_definitions(-DHAS_RELATIVE_LOCALEDIR)
 add_definitions(-DLOCALEDIR='\"${LOCALEDIR}\"')




Related Messages


Powered by MHonArc, Updated Fri Jun 20 14:02:39 2008