Hi
just FYI, I have this patch for cmake in my tree. According to my
experience this prevents me before troubles with mixing various CFLAGS
settings.
Luc
--- cmake-2.4.8.orig/Modules/Platform/SunOS.cmake 2008-01-21
19:59:51.000000000 +0100
+++ cmake-2.4.8/Modules/Platform/SunOS.cmake 2008-04-20 09:20:50.788025546
+0200
@@ -27,9 +27,9 @@
ELSE(CMAKE_COMPILER_IS_GNUCC)
SET (CMAKE_C_FLAGS_INIT "")
SET (CMAKE_C_FLAGS_DEBUG_INIT "-g")
- SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-xO3 -DNDEBUG")
- SET (CMAKE_C_FLAGS_RELEASE_INIT "-xO2 -DNDEBUG")
- SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-xO2")
+ SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-DNDEBUG")
+ SET (CMAKE_C_FLAGS_RELEASE_INIT "-DNDEBUG")
+ SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "")
ENDIF(CMAKE_COMPILER_IS_GNUCC)
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-fPIC")
@@ -40,9 +40,9 @@
ELSE(CMAKE_COMPILER_IS_GNUCXX)
SET (CMAKE_CXX_FLAGS_INIT "")
SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
- SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-xO3 -DNDEBUG")
- SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-xO2 -DNDEBUG")
- SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-xO2")
+ SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-DNDEBUG")
+ SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-DNDEBUG")
+ SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
ENDIF(CMAKE_SYSTEM MATCHES "SunOS-5*.")
On Fri, Sep 12, 2008 at 11:50 PM, Faramarz Jalalian
<faramarz.jalalian at sun.com> wrote:
> Hello,
>
> Would you please review the changes to include CMake into OpenSolaris? You
> can find the webrev at:
>
> http://cr.opensolaris.org/~jalalian/cmake/
>
> There is "almost" no changes made to the cmake. To make installation easier,
> the configure script is passed
> /usr as build prefix, but cmake install target is modified to install
> everything under sfw_stage directory so that
> later install-sfw can pick them up and install them in the right place.
>
> Thanks for your time,
>
> Faramarz Jalalian
> --
> This message posted from opensolaris.org
> _______________________________________________
> sfwnv-discuss mailing list
> sfwnv-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/sfwnv-discuss
>
--
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode
When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
Dale Carnegie