[brlcad-commits] SF.net SVN: brlcad:[55469] brlcad/trunk/src/brlman/CMakeLists.txt
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2013-05-15 21:38:13
|
Revision: 55469 http://sourceforge.net/p/brlcad/code/55469 Author: starseeker Date: 2013-05-15 21:38:10 +0000 (Wed, 15 May 2013) Log Message: ----------- Don't overwrite brlman.bat in src directory. Modified Paths: -------------- brlcad/trunk/src/brlman/CMakeLists.txt Modified: brlcad/trunk/src/brlman/CMakeLists.txt =================================================================== --- brlcad/trunk/src/brlman/CMakeLists.txt 2013-05-15 21:36:59 UTC (rev 55468) +++ brlcad/trunk/src/brlman/CMakeLists.txt 2013-05-15 21:38:10 UTC (rev 55469) @@ -44,18 +44,18 @@ DISTCLEAN(${CMAKE_BINARY_DIR}/${BIN_DIR}/brlman.tcl) DISTCLEAN(${CMAKE_BINARY_DIR}/${BIN_DIR}/brlman.bat) endif(CMAKE_CONFIGURATION_TYPES) -file(COPY brlman.bat - DESTINATION ${CMAKE_BINARY_DIR}/src/brlman - FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ - GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) -DISTCLEAN(${CMAKE_BINARY_DIR}/src/brlman/brlman.bat) set(BTCLSH_BIN_DIR "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}") configure_file(brlman.sh.in ${CMAKE_BINARY_DIR}/src/brlman/brlman @ONLY) install(PROGRAMS ${CMAKE_BINARY_DIR}/src/brlman/brlman DESTINATION ${BIN_DIR}) configure_file(brlman.tcl.in ${CMAKE_BINARY_DIR}/src/brlman/brlman.tcl @ONLY) install(PROGRAMS ${CMAKE_BINARY_DIR}/src/brlman/brlman.tcl DESTINATION ${BIN_DIR}) -install(PROGRAMS ${CMAKE_BINARY_DIR}/src/brlman/brlman.bat DESTINATION ${BIN_DIR}) +file(COPY brlman.bat + DESTINATION ${CMAKE_BINARY_DIR}/CMakeTmp + FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ + GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) +DISTCLEAN(${CMAKE_BINARY_DIR}/CMakeTmp/brlman.bat) +install(PROGRAMS ${CMAKE_BINARY_DIR}/CMakeTmp/brlman.bat DESTINATION ${BIN_DIR}) CMAKEFILES(brlman.tcl.in brlman.sh.in brlman.bat) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |