Revision: 44584
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44584&view=rev
Author:   starseeker
Date:     2011-05-09 19:08:54 +0000 (Mon, 09 May 2011)

Log Message:
-----------
Add .bat file for isst on Windows.

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

Added Paths:
-----------
    brlcad/trunk/src/adrt/isst.bat

Modified: brlcad/trunk/src/adrt/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/adrt/CMakeLists.txt        2011-05-09 11:52:33 UTC (rev 
44583)
+++ brlcad/trunk/src/adrt/CMakeLists.txt        2011-05-09 19:08:54 UTC (rev 
44584)
@@ -89,8 +89,14 @@
        # 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.       
-       configure_file(isst ${CMAKE_BINARY_DIR}/bin/isst COPYONLY)
-       install(PROGRAMS isst DESTINATION bin)
+       IF(WIN32)
+               configure_file(isst.bat ${CMAKE_BINARY_DIR}/bin/isst.bat 
COPYONLY)
+               INSTALL(PROGRAMS isst.bat DESTINATION bin)
+       ELSE(WIN32)
+               configure_file(isst ${CMAKE_BINARY_DIR}/bin/isst COPYONLY)
+               install(PROGRAMS isst DESTINATION bin)
+       ENDIF(WIN32)
+
 ENDIF(TOGL_LIBRARIES)
 
 SET(adrt_ignore_files

Added: brlcad/trunk/src/adrt/isst.bat
===================================================================
--- brlcad/trunk/src/adrt/isst.bat                              (rev 0)
+++ brlcad/trunk/src/adrt/isst.bat      2011-05-09 19:08:54 UTC (rev 44584)
@@ -0,0 +1,40 @@
+@ECHO OFF
+
+REM                        I S S T . B A T
+REM  BRL-CAD
+REM 
+REM  Copyright (c) 2006-2011 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 
+
+SETLOCAL
+
+SET BWISH=%~dp0bwish
+SET ISST=%~dp0isst
+
+START /B "" "%BWISH%" "%ISST%" %1
+
+CLS
+EXIT
+
+REM Local Variables:
+REM mode: sh
+REM tab-width: 8
+REM sh-indentation: 4
+REM sh-basic-offset: 4
+REM indent-tabs-mode: t
+REM End:
+REM ex: shiftwidth=4 tabstop=8


Property changes on: brlcad/trunk/src/adrt/isst.bat
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + text/plain
Added: svn:eol-style
   + native


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

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to