From: <ust...@us...> - 2007-03-31 20:51:31
|
Revision: 2538 http://svn.sourceforge.net/clucene/?rev=2538&view=rev Author: ustramooner Date: 2007-03-31 13:51:30 -0700 (Sat, 31 Mar 2007) Log Message: ----------- issue 1691375 Modified Paths: -------------- trunk/src/CLucene/CMakeLists.txt Modified: trunk/src/CLucene/CMakeLists.txt =================================================================== --- trunk/src/CLucene/CMakeLists.txt 2007-03-31 19:47:57 UTC (rev 2537) +++ trunk/src/CLucene/CMakeLists.txt 2007-03-31 20:51:30 UTC (rev 2538) @@ -219,3 +219,16 @@ ${clucene_core_Files} ) ENDIF( MSVC OR MINGW ) + +file(GLOB_RECURSE HEADERS ${CMAKE_SOURCE_DIR}/src/*.h) + +foreach(file ${HEADERS}) + get_filename_component(apath ${file} PATH) + file(RELATIVE_PATH relpath ${CMAKE_SOURCE_DIR}/src ${apath}) + if (relpath STREQUAL "demo") + else (relpath STREQUAL "demo") + install(FILES ${file} DESTINATION include/${relpath} ) + endif (relpath STREQUAL "demo") +endforeach(file) + +install(TARGETS clucene-core DESTINATION lib) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |