Revision: 41524
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41524&view=rev
Author:   starseeker
Date:     2010-12-06 22:55:08 +0000 (Mon, 06 Dec 2010)

Log Message:
-----------
Tweak gqa.sh script, reference correct build target to depend on.

Modified Paths:
--------------
    brlcad/branches/cmake/regress/CMakeLists.txt
    brlcad/branches/cmake/regress/gqa.sh

Modified: brlcad/branches/cmake/regress/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/regress/CMakeLists.txt        2010-12-06 22:48:55 UTC 
(rev 41523)
+++ brlcad/branches/cmake/regress/CMakeLists.txt        2010-12-06 22:55:08 UTC 
(rev 41524)
@@ -34,7 +34,7 @@
                )
        ADD_CUSTOM_TARGET(gqa-regress
                ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/gqa.sh 
${CMAKE_SOURCE_DIR}
-               DEPENDS gqa
+               DEPENDS g_qa
                )
        ADD_CUSTOM_TARGET(fastgen-regress
                ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/fastgen.sh 
${CMAKE_SOURCE_DIR}

Modified: brlcad/branches/cmake/regress/gqa.sh
===================================================================
--- brlcad/branches/cmake/regress/gqa.sh        2010-12-06 22:48:55 UTC (rev 
41523)
+++ brlcad/branches/cmake/regress/gqa.sh        2010-12-06 22:55:08 UTC (rev 
41524)
@@ -48,6 +48,11 @@
     exit 1
 fi
 
+GQABIN="`ensearch g_qa`"
+if test ! -f "$GQABIN" ; then
+    echo "Unable to find g_qa, aborting"
+    exit 1
+fi
 
 rm -f gqa.g density_table.txt gqa.log gqa_mged.log gqa.mged
 
@@ -121,7 +126,7 @@
 # open_box.r = 1000-576 = 424 m^3
 
 
-GQA="../src/gtools/g_qa -u m,m^3,kg -g 250mm-50mm -p"
+GQA="$GQABIN -u m,m^3,kg -g 250mm-50mm -p"
 export GQA
 
 STATUS=0


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

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to