[MOAB-dev] r3677 - in MOAB/trunk: src test

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri Mar 19 13:16:27 CDT 2010


Author: kraftche
Date: 2010-03-19 13:16:27 -0500 (Fri, 19 Mar 2010)
New Revision: 3677

Modified:
   MOAB/trunk/src/CMakeLists.txt
   MOAB/trunk/test/CMakeLists.txt
Log:
cmake build fixes

Modified: MOAB/trunk/src/CMakeLists.txt
===================================================================
--- MOAB/trunk/src/CMakeLists.txt	2010-03-19 16:56:45 UTC (rev 3676)
+++ MOAB/trunk/src/CMakeLists.txt	2010-03-19 18:16:27 UTC (rev 3677)
@@ -98,6 +98,6 @@
   endif ( DEFINED MOAB_VERSION_PATCH )
   set( MB_VERSION_STRING "\"${MOAB_VERSION_STRING}\"" )
 
-  autoconf_header( ${MOAB_SOURCE_DIR}/src/moab/MBVersion.h.in ${MOAB_BINARY_DIR}/src/moab/MBVersion.h )
-  autoconf_header( ${MOAB_SOURCE_DIR}/src/moab/MBEntityHandle.h.in ${MOAB_BINARY_DIR}/src/moab/MBEntityHandle.h )
+  autoconf_header( ${MOAB_SOURCE_DIR}/src/moab/Version.h.in ${MOAB_BINARY_DIR}/src/moab/Version.h )
+  autoconf_header( ${MOAB_SOURCE_DIR}/src/moab/EntityHandle.hpp.in ${MOAB_BINARY_DIR}/src/moab/EntityHandle.hpp )
   file( WRITE ${MOAB_BINARY_DIR}/src/MBCN_protos.h "" )

Modified: MOAB/trunk/test/CMakeLists.txt
===================================================================
--- MOAB/trunk/test/CMakeLists.txt	2010-03-19 16:56:45 UTC (rev 3676)
+++ MOAB/trunk/test/CMakeLists.txt	2010-03-19 18:16:27 UTC (rev 3677)
@@ -9,6 +9,8 @@
 
   add_executable( moab_test MBTest.cpp )
   target_link_libraries( moab_test MOAB )
+  set_source_files_properties( scdseq_test.cpp
+    COMPILE_FLAGS "-DSRCDIR=${CMAKE_CURRENT_SOURCE_DIR}" )
   add_test( TestMOAB ${EXECUTABLE_OUTPUT_PATH}/moab_test -nostress )
   # FIXME: moab_test depends on: test/mb_big_test.g test/cell1.gen test/cell2.gen
 



More information about the moab-dev mailing list