Revision: 70297
          http://sourceforge.net/p/brlcad/code/70297
Author:   starseeker
Date:     2017-09-18 12:16:12 +0000 (Mon, 18 Sep 2017)
Log Message:
-----------
fix fixed paths, make sure we remove profile-generate in a distclean.  A check 
of the distclean script indicates it uses file(REMOVE_RECURSE, which should 
clear the directory and all contents if we list it thus.

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2017-09-18 12:06:19 UTC (rev 70296)
+++ brlcad/trunk/CMakeLists.txt 2017-09-18 12:16:12 UTC (rev 70297)
@@ -1945,9 +1945,10 @@
 
   # cmake_push_check_state()
   #   set(CMAKE_REQUIRED_FLAGS --coverage)
-  #   
CHECK_C_FLAG("fprofile-use=/vld/other/morrison/Applications/profile-generate 
--coverage" GROUPS OPTIMIZE_C_FLAGS)
-  #   
CHECK_CXX_FLAG("fprofile-use=/vld/other/morrison/Applications/profile-generate 
--coverage" GROUPS OPTIMIZE_CXX_FLAGS)
+  #   CHECK_C_FLAG("fprofile-use=${CMAKE_BINARY_DIR}/profile-generate 
--coverage" GROUPS OPTIMIZE_C_FLAGS)
+  #   CHECK_CXX_FLAG("fprofile-use=${CMAKE_BINARY_DIR}/profile-generate 
--coverage" GROUPS OPTIMIZE_CXX_FLAGS)
   # cmake_pop_check_state()
+  # DISTCLEAN(${CMAKE_BINARY_DIR}/profile-generate)
 
   # CHECK_C_FLAG("finline-limit=10000 --param inline-unit-growth=300 --param 
large-function-growth=300" GROUPS OPTIMIZE_C_FLAGS)
   # CHECK_CXX_FLAG("finline-limit=10000 --param inline-unit-growth=300 --param 
large-function-growth=300" GROUPS OPTIMIZE_CXX_FLAGS)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to