Revision: 42265
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42265&view=rev
Author:   starseeker
Date:     2011-01-14 16:23:12 +0000 (Fri, 14 Jan 2011)

Log Message:
-----------
Hmm, missed db dir in that commit.

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

Modified: brlcad/branches/cmake/db/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/db/CMakeLists.txt     2011-01-14 15:31:19 UTC (rev 
42264)
+++ brlcad/branches/cmake/db/CMakeLists.txt     2011-01-14 16:23:12 UTC (rev 
42265)
@@ -39,13 +39,13 @@
 FOREACH(g_model ${G_SAMPLE_MODELS})
   STRING(REGEX REPLACE "([0-9a-z]*).asc" "\\1" g_model_root "${g_model}")
   ADD_CUSTOM_COMMAND(
-    OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${g_model_root}.g
-    COMMAND asc2g ${CMAKE_CURRENT_SOURCE_DIR}/${g_model} 
${CMAKE_CURRENT_BINARY_DIR}/${g_model_root}.g
+    OUTPUT ${CMAKE_BINARY_DIR}/${DATA_DIR}/db/${g_model_root}.g
+    COMMAND asc2g ${CMAKE_CURRENT_SOURCE_DIR}/${g_model} 
${CMAKE_BINARY_DIR}/${DATA_DIR}/db/${g_model_root}.g
     DEPENDS asc2g
   )
-  ADD_CUSTOM_TARGET(${g_model_root}.g ALL DEPENDS 
${CMAKE_CURRENT_BINARY_DIR}/${g_model_root}.g)
-  INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${g_model_root}.g DESTINATION 
${${CMAKE_PROJECT_NAME}_INSTALL_DATA_DIR}/db)
-  SET(BUILT_MODELS 
"${BUILT_MODELS};${CMAKE_CURRENT_BINARY_DIR}/${g_model_root}.g")
+  ADD_CUSTOM_TARGET(${g_model_root}.g ALL DEPENDS 
${CMAKE_BINARY_DIR}/${DATA_DIR}/db/${g_model_root}.g)
+  INSTALL(FILES ${CMAKE_BINARY_DIR}/${DATA_DIR}/db/${g_model_root}.g 
DESTINATION ${${CMAKE_PROJECT_NAME}_INSTALL_DATA_DIR}/db)
+  SET(BUILT_MODELS 
"${BUILT_MODELS};${CMAKE_BINARY_DIR}/${DATA_DIR}/db/${g_model_root}.g")
 ENDFOREACH(g_model ${G_SAMPLE_MODELS})
 SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES 
"${BUILT_MODELS}")
 INSTALL(FILES terra.dsp DESTINATION 
${${CMAKE_PROJECT_NAME}_INSTALL_DATA_DIR}/db)


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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to