[cmake-commits] alex committed Generic.cmake 1.2 1.3 BlueGeneL.cmake 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jun 26 13:05:29 EDT 2007


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv4423/Modules/Platform

Modified Files:
	Generic.cmake BlueGeneL.cmake 
Log Message:

STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS
to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS

Alex


Index: BlueGeneL.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/BlueGeneL.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BlueGeneL.cmake	22 Jun 2007 14:22:27 -0000	1.1
+++ BlueGeneL.cmake	26 Jun 2007 17:05:27 -0000	1.2
@@ -1,5 +1,5 @@
 #the compute nodes on BlueGene/L don't support shared libs 
-SET(CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS TRUE)
+SET_PROPERTIES(GLOBAL PROPERTIES TARGET_SUPPORTS_SHARED_LIBS FALSE)
 
 SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")            # -pic 
 SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "")       # -shared

Index: Generic.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/Generic.cmake,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Generic.cmake	21 Jun 2007 20:23:54 -0000	1.2
+++ Generic.cmake	26 Jun 2007 17:05:26 -0000	1.3
@@ -8,5 +8,5 @@
 # and/or ${CMAKE_SYSTEM_NAME}-<compiler_basename>-${CMAKE_SYSTEM_PROCESSOR}.cmake
 
 # (embedded) targets without operating system usually don't support shared libraries
-SET(CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS TRUE)
+SET_PROPERTIES(GLOBAL PROPERTIES TARGET_SUPPORTS_SHARED_LIBS FALSE)
 



More information about the Cmake-commits mailing list