CMakeLists.txt 485 B

123456789101112131415161718192021
  1. IF(NOT WIN32 AND NOT BOOST_FS_LIB)
  2. MESSAGE(STATUS "** Not building filetreetable example: requires boost_filesystem library.")
  3. ELSE(NOT WIN32 AND NOT BOOST_FS_LIB)
  4. WT_ADD_EXAMPLE(filetreetable.wt
  5. FileTreeTable.C
  6. FileTreeTableNode.C
  7. FileTreeExample.C
  8. )
  9. TARGET_LINK_LIBRARIES(filetreetable.wt
  10. ${BOOST_FS_LIB}
  11. )
  12. INCLUDE_DIRECTORIES(${WT_SOURCE_DIR}/src)
  13. ADD_DEPENDENCIES(filetreetable.wt wt ${EXAMPLES_CONNECTOR})
  14. ENDIF(NOT WIN32 AND NOT BOOST_FS_LIB)