Skip to content

Commit

Permalink
Uploaded unittest/CMakeFiles.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoub committed Mar 29, 2013
1 parent 6e9ba67 commit c974b80
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions openvdb_1_0_0_library/openvdb/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FIND_PATH(CPPUNIT_INCLUDE_DIR REQUIRED)
FIND_PATH(CPPUNIT_LIBRARY_DIR REQUIRED)

INCLUDE_DIRECTORIES(${CPPUNIT_INCLUDE_DIR})
LINK_DIRECTORIES(${CPPUNIT_LIBRARY_DIR})

FILE(GLOB OPENVDB_UNITTEST_SOURCE_FILES
${CMAKE_CURRENT_SOURCE_DIR}/*.cc)

REMOVE_DEFINITIONS(-DOPENVDB_PRIVATE)
ADD_EXECUTABLE(vdb_test ${OPENVDB_UNITTEST_SOURCE_FILES})
TARGET_LINK_LIBRARIES(vdb_test vdb debug cppunitd)
TARGET_LINK_LIBRARIES(vdb_test vdb optimized cppunit)

0 comments on commit c974b80

Please sign in to comment.