Vlad,
That looks better but does that flag only apply to src/libdm or does it apply to everything after as well (in other directories)?
It can be disabled in the top-level CMakeLists.txt file if QT is enabled for all directories, but it certainly shouldn't be half with the warning and half without. A build with "VERBOSE=1 make" will tell you whether it's applying to just libdm or later directories too.
Cheers!
Revision: 56041
http://sourceforge.net/p/brlcad/code/56041
Author: vladbogo
Date: 2013-07-14 18:55:52 +0000 (Sun, 14 Jul 2013)
Log Message:
-----------
Do not assume that the compiler is gcc or compatible when setting the -Wno-float-equal flag.
Modified Paths:
--------------
brlcad/trunk/src/libdm/CMakeLists.txt
Modified: brlcad/trunk/src/libdm/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/libdm/CMakeLists.txt 2013-07-14 17:35:12 UTC (rev 56040)
+++ brlcad/trunk/src/libdm/CMakeLists.txt 2013-07-14 18:55:52 UTC (rev 56041)
@@ -55,11 +55,8 @@
endif(BRLCAD_ENABLE_TK AND NOT WIN32)
if(BRLCAD_ENABLE_QT)
- if(BUILD_TYPE)
- set(CMAKE_CXX_FLAGS_${BUILD_TYPE} "${CMAKE_CXX_FLAGS_${BUILD_TYPE}} -Wno-float-equal")
- else(BUILD_TYPE)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-float-equal")
- endif(BUILD_TYPE)
+ BRLCAD_CHECK_CXX_FLAG(Wno-float-equal)
+
list(APPEND libdm_DEFINES DM_QT)
set(dmqt_srcs dm-qt.cpp)
set(CMAKE_AUTOMOC ON)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
