Revision: 55720
          http://sourceforge.net/p/brlcad/code/55720
Author:   starseeker
Date:     2013-06-12 14:53:00 +0000 (Wed, 12 Jun 2013)
Log Message:
-----------
Use the BRLCAD_MANAGE_FILES macro for the isst script.

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

Modified: brlcad/trunk/src/adrt/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/adrt/CMakeLists.txt        2013-06-12 14:42:26 UTC (rev 
55719)
+++ brlcad/trunk/src/adrt/CMakeLists.txt        2013-06-12 14:53:00 UTC (rev 
55720)
@@ -73,23 +73,10 @@
     ARCHIVE DESTINATION ${LIB_DIR}/isst0.1)
   include(${BRLCAD_SOURCE_DIR}/misc/CMake/TCL_PKGINDEX.cmake)
   TCL_PKGINDEX(issttcltk isst "0.1")
-  # TODO - need to make this configure line into a real target ala
-  # BRLCAD_ADDDATA in order for the build dir copy to be updated when it
-  # is changed.
   if(WIN32)
-    set(isst_script isst.bat)
-  else(WIN32)
-    set(isst_script isst)
+    BRLCAD_MANAGE_FILES("isst.bat" ${BIN_DIR})
   endif(WIN32)
-  if(NOT CMAKE_CONFIGURATION_TYPES)
-    configure_file(${isst_script} ${CMAKE_BINARY_DIR}/bin/${isst_script} 
COPYONLY)
-  else(NOT CMAKE_CONFIGURATION_TYPES)
-    foreach(CFG_TYPE ${CMAKE_CONFIGURATION_TYPES})
-      string(TOUPPER "${CFG_TYPE}" CFG_TYPE_UPPER)
-      configure_file(${isst_script} 
${CMAKE_BINARY_DIR_${CFG_TYPE_UPPER}}/bin/${isst_script} COPY_ONLY)
-    endforeach(CFG_TYPE ${CMAKE_CONFIGURATION_TYPES})
-  endif(NOT CMAKE_CONFIGURATION_TYPES)
-  install(PROGRAMS ${isst_script} DESTINATION bin)
+  BRLCAD_MANAGE_FILES("isst" ${BIN_DIR})
 endif(BRLCAD_ENABLE_OPENGL)
 CMAKEFILES(isst_tcltk.c)
 

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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to