[Greater-commits] r184 - trunk/Administration

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 9 18:30:10 CEST 2011


Author: aheinecke
Date: 2011-06-09 18:30:09 +0200 (Thu, 09 Jun 2011)
New Revision: 184

Modified:
   trunk/Administration/CMakeLists.txt
Log:
Fix compiler flags for msvc


Modified: trunk/Administration/CMakeLists.txt
===================================================================
--- trunk/Administration/CMakeLists.txt	2011-06-09 16:22:25 UTC (rev 183)
+++ trunk/Administration/CMakeLists.txt	2011-06-09 16:30:09 UTC (rev 184)
@@ -1,3 +1,26 @@
+# CMakeLists.txt
+#
+# Description: GREAT-ER Administration tool cmake file
+#
+# Authors:
+# Andre Heinecke <aheinecke at intevation.de>
+#
+# Copyright:
+# Copyright (C) 2011 by Intevation GmbH
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2,
+# or, at your option, any later version as published by the Free
+# Software Foundation
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+
 PROJECT( greateradmin )
 
 cmake_minimum_required(VERSION 2.6)
@@ -24,7 +47,9 @@
 include( ${wxWidgets_USE_FILE} )
 
 add_definitions(-DwxUSE_UNICODE=0)
-add_definitions(-Werror)
+if(NOT MSVC)
+    add_definitions(-Werror)
+endif()
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}, ${wxWidgets_INCLUDE_DIRS}, ${DAGREATER_PG_INCLUDE})
 
 set( greateradmin_BIN_SRCS



More information about the Greater-commits mailing list