In the root CMakeLists.txt file I see something which strikes me as odd.

After we set the build type, we add a bunch of platform-dependent
compiler and linker flags to the base set for the current build type.
These statements are generally of the form:

SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ...)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ...)

However, in the APPLE section I see this:

SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fno-common -Wall -Wextra")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-common -Wall -Wextra
-Wno-unused-parameter")

Note the CXX flags take the root from the C flags.  Is this a mistake
or deliberate?

M

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to