[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi CMakeLists.txt
From: |
certi-cvs |
Subject: |
[certi-cvs] certi CMakeLists.txt |
Date: |
Sat, 16 Jan 2010 19:44:13 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 10/01/16 19:44:13
Modified files:
. : CMakeLists.txt
Log message:
Comment the CMP003 policy choice.
Add message for defaulted to Debug build
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/CMakeLists.txt?cvsroot=certi&r1=1.78&r2=1.79
Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/CMakeLists.txt,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- CMakeLists.txt 15 Jan 2010 15:06:32 -0000 1.78
+++ CMakeLists.txt 16 Jan 2010 19:44:13 -0000 1.79
@@ -4,6 +4,8 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4)
INCLUDE(${CMAKE_ROOT}/Modules/Dart.cmake)
MARK_AS_ADVANCED(TCL_TCLSH DART_ROOT)
+# New Policy for full path library search
+# see cmake --help-policy CMP0003
IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)
@@ -67,7 +69,11 @@
ADD_DEFINITIONS(-DRTIA_USE_TCP)
ENDIF(RTIA_USE_TCP)
-SET(CMAKE_BUILD_TYPE "Debug")
+IF (NOT CMAKE_BUILD_TYPE)
+ MESSAGE(STATUS "No build type selected, default to Debug")
+ SET(CMAKE_BUILD_TYPE "Debug")
+ENDIF(NOT CMAKE_BUILD_TYPE)
+
# Force CMAKE_COMPILER_IS_GNUCC even if gcc used with ccache
IF("${CMAKE_C_COMPILER}" MATCHES "ccache")
- [certi-cvs] certi CMakeLists.txt,
certi-cvs <=