|
From: <rus...@us...> - 2008-02-10 04:43:52
|
Revision: 57
http://gearbox.svn.sourceforge.net/gearbox/?rev=57&view=rev
Author: russo2503v
Date: 2008-02-09 20:43:57 -0800 (Sat, 09 Feb 2008)
Log Message:
-----------
corrected names of OS variables
Modified Paths:
--------------
gearbox/trunk/cmake/UseBasicRules.cmake
gearbox/trunk/cmake/internal/SetupBuildType.cmake
Modified: gearbox/trunk/cmake/UseBasicRules.cmake
===================================================================
--- gearbox/trunk/cmake/UseBasicRules.cmake 2008-02-09 13:14:19 UTC (rev 56)
+++ gearbox/trunk/cmake/UseBasicRules.cmake 2008-02-10 04:43:57 UTC (rev 57)
@@ -15,8 +15,8 @@
#
# Platform-specific compiler and linker flags
#
-IF ( NOT OS_WIN )
+IF ( NOT GBX_OS_WIN )
ADD_DEFINITIONS( "-Wall" )
-ELSE ( NOT OS_WIN )
+ELSE ( NOT GBX_OS_WIN )
ADD_DEFINITIONS( "-Wall -D_CRT_SECURE_NO_DEPRECATE" )
-ENDIF ( NOT OS_WIN )
+ENDIF ( NOT GBX_OS_WIN )
Modified: gearbox/trunk/cmake/internal/SetupBuildType.cmake
===================================================================
--- gearbox/trunk/cmake/internal/SetupBuildType.cmake 2008-02-09 13:14:19 UTC (rev 56)
+++ gearbox/trunk/cmake/internal/SetupBuildType.cmake 2008-02-10 04:43:57 UTC (rev 57)
@@ -1,13 +1,13 @@
IF ( NOT CMAKE_BUILD_TYPE )
- IF ( NOT OS_WIN )
+ IF ( NOT GBX_OS_WIN )
# For gcc, RelWithDebInfo gives '-O2 -g'
SET( CMAKE_BUILD_TYPE RelWithDebInfo )
- ELSE ( NOT OS_WIN )
+ ELSE ( NOT GBX_OS_WIN )
# windows... a temp hack: VCC does not seem to respect the cmake
# setting and always defaults to debug, we have to match it here.
SET( CMAKE_BUILD_TYPE Debug )
- ENDIF ( NOT OS_WIN )
+ ENDIF ( NOT GBX_OS_WIN )
MESSAGE( STATUS "Setting build type to '${CMAKE_BUILD_TYPE}'" )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|