Revision: 40944
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40944&view=rev
Author:   starseeker
Date:     2010-10-08 01:44:37 +0000 (Fri, 08 Oct 2010)

Log Message:
-----------
ensure the pix files are where they can be seen by the benchmark routines - 
this allows make benchmark to succeed with the CMake build

Modified Paths:
--------------
    brlcad/branches/cmake/pix/CMakeLists.txt

Modified: brlcad/branches/cmake/pix/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/pix/CMakeLists.txt    2010-10-07 23:30:41 UTC (rev 
40943)
+++ brlcad/branches/cmake/pix/CMakeLists.txt    2010-10-08 01:44:37 UTC (rev 
40944)
@@ -29,5 +29,11 @@
   cube.rt
 )
 
+# Benchmark scripts don't know where the source directory is, so copy
+# to the binary directory
+FOREACH(pixfile ${BENCHMARK_PIX})
+       configure_file(${pixfile} ${CMAKE_BINARY_DIR}/pix/${pixfile} COPYONLY)
+ENDFOREACH(pixfile ${BENCHMARK_PIX})
+
 INSTALL(FILES ${BENCHMARK_PIX} DESTINATION ${BRLCAD_INSTALL_DATA_DIR}/pix)
 INSTALL(FILES ${PIX_LOG} DESTINATION ${BRLCAD_INSTALL_DATA_DIR}/pix)


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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to