Revision: 70050
          http://sourceforge.net/p/brlcad/code/70050
Author:   starseeker
Date:     2017-08-05 12:47:14 +0000 (Sat, 05 Aug 2017)
Log Message:
-----------
Make notes about where the work to remove (one of the) needs for overriding the 
default CMake commands stalled out.  Finishing/redoing this correctly upstream 
might make a good CMake student project, assuming we wanted to define such a 
project someday...

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

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2017-08-05 12:35:25 UTC (rev 70049)
+++ brlcad/trunk/CMakeLists.txt 2017-08-05 12:47:14 UTC (rev 70050)
@@ -373,6 +373,12 @@
     if(${name} MATCHES "^lib*")
       set_target_properties(${name} PROPERTIES PREFIX "")
     endif(${name} MATCHES "^lib*")
+
+    # TODO - the mechanism below should eventually be replaced by a proper
+    # feature in CMake, but it is as yet unimplemented:
+    # https://cmake.org/pipermail/cmake-developers/2015-July/025682.html
+    # https://cmake.org/pipermail/cmake-developers/2016-March/027985.html
+    # https://cmake.org/pipermail/cmake-developers/2016-March/027993.html
     set(add_lib_to_list 1)
     foreach(libarg ${ARGN})
       if("${libarg}" STREQUAL "INTERFACE")
@@ -387,6 +393,12 @@
   # Override and wrap add_executable
   function(add_executable name)
     _add_executable(${name} ${ARGN})
+
+    # TODO - the mechanism below should eventually be replaced by a proper
+    # feature in CMake, but it is as yet unimplemented:
+    # https://cmake.org/pipermail/cmake-developers/2015-July/025682.html
+    # https://cmake.org/pipermail/cmake-developers/2016-March/027985.html
+    # https://cmake.org/pipermail/cmake-developers/2016-March/027993.html
     set_property(GLOBAL APPEND PROPERTY CMAKE_EXEC_TARGET_LIST ${name})
   endfunction(add_executable)
 
@@ -393,6 +405,12 @@
   # Override and wrap add_custom_target
   function(add_custom_target name)
     _add_custom_target(${name} ${ARGN})
+
+    # TODO - the mechanism below should eventually be replaced by a proper
+    # feature in CMake, but it is as yet unimplemented:
+    # https://cmake.org/pipermail/cmake-developers/2015-July/025682.html
+    # https://cmake.org/pipermail/cmake-developers/2016-March/027985.html
+    # https://cmake.org/pipermail/cmake-developers/2016-March/027993.html
     set_property(GLOBAL APPEND PROPERTY CMAKE_CUSTOM_TARGET_LIST ${name})
   endfunction(add_custom_target)
 

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