Revision: 78044
http://sourceforge.net/p/brlcad/code/78044
Author: starseeker
Date: 2021-01-06 13:54:19 +0000 (Wed, 06 Jan 2021)
Log Message:
-----------
Try an alternative with Archer (untested)
Modified Paths:
--------------
brlcad/trunk/src/archer/CMakeLists.txt
Added Paths:
-----------
brlcad/trunk/src/archer/archer.bat
Modified: brlcad/trunk/src/archer/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/archer/CMakeLists.txt 2021-01-06 13:25:36 UTC (rev
78043)
+++ brlcad/trunk/src/archer/CMakeLists.txt 2021-01-06 13:54:19 UTC (rev
78044)
@@ -33,11 +33,15 @@
add_dependencies(archer ${item})
endforeach(item ${tclindex_target_list})
+ # The bat file is used to set the working directory for shortcuts in MSIS
+ # installers generated with WiX.
+ BRLCAD_MANAGE_FILES("archer.bat" ${BIN_DIR} EXEC)
+
# Archer is one of the programs that gets a start menu entry
- set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:archer>"
+ set_property(INSTALL "${BIN_DIR}/archer.bat"
PROPERTY CPACK_START_MENU_SHORTCUTS "Archer ${BRLCAD_VERSION}"
)
- set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:archer>"
+ set_property(INSTALL "${BIN_DIR}/archer.bat"
PROPERTY CPACK_DESKTOP_SHORTCUTS "Archer ${BRLCAD_VERSION}"
)
endif(BRLCAD_ENABLE_TK)
Added: brlcad/trunk/src/archer/archer.bat
===================================================================
--- brlcad/trunk/src/archer/archer.bat (rev 0)
+++ brlcad/trunk/src/archer/archer.bat 2021-01-06 13:54:19 UTC (rev 78044)
@@ -0,0 +1,31 @@
+REM A R C H E R . B A T
+REM BRL-CAD
+REM
+REM Copyright (c) 2006-2021 United States Government as represented by
+REM the U.S. Army Research Laboratory.
+REM
+REM This library is free software; you can redistribute it and/or
+REM modify it under the terms of the GNU Lesser General Public License
+REM version 2.1 as published by the Free Software Foundation.
+REM
+REM This library is distributed in the hope that it will be useful, but
+REM WITHOUT ANY WARRANTY; without even the implied warranty of
+REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+REM Lesser General Public License for more details.
+REM
+REM You should have received a copy of the GNU Lesser General Public
+REM License along with this file; see the file named COPYING for more
+REM information.
+REM
+
+@ECHO OFF
+
+SETLOCAL
+
+SET PATH=%~dp0;%PATH%
+SET ARCHER=%~dp0archer
+
+PUSHD %USERPROFILE%
+START /B "" "%ARCHER%" %*
+
+EXIT
Property changes on: brlcad/trunk/src/archer/archer.bat
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+CRLF
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits