Author: mordante
Date: Wed May 27 21:08:57 2009
New Revision: 35912
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35912&view=rev
Log:
Add the debug layout option to cmake.
Modified:
trunk/CMakeLists.txt
Modified: trunk/CMakeLists.txt
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/CMakeLists.txt?rev=35912&r1=35911&r2=35912&view=diff
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt Wed May 27 21:08:57 2009
@@ -80,6 +80,7 @@
set(DESKTOPDIR "${DATAROOTDIR}/applications/" CACHE STRING "Sets the desktop
file directory for desktop entry to a non-default location.")
endif(UNIX AND NOT APPLE AND NOT CYGWIN)
option(ENABLE_STRICT_COMPILATION "Sets the strict compilation mode" ON)
+option(ENABLE_DEBUG_WINDOW_LAYOUT "Add the debug option to allow the
generation of debug layout files in dot format" OFF)
#misc options
if(NOT MSVC)
@@ -162,6 +163,10 @@
if(ENABLE_LOW_MEM)
add_definitions(-DLOW_MEM)
endif(ENABLE_LOW_MEM)
+
+if(ENABLE_DEBUG_WINDOW_LAYOUT)
+ add_definitions(-DDEBUG_WINDOW_LAYOUT_GRAPHS)
+endif(ENABLE_DEBUG_WINDOW_LAYOUT)
#
# Libraries that are only required by some targets
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits