More cleanup of cmake build files
authorHenning Rogge <hrogge@gmail.com>
Wed, 5 Aug 2015 22:17:03 +0000 (00:17 +0200)
committerHenning Rogge <hrogge@gmail.com>
Wed, 5 Aug 2015 22:17:03 +0000 (00:17 +0200)
CMakeLists.txt
cmake/declare_library.cmake [moved from cmake/OONFBuildLibrary.cmake with 100% similarity]
cmake/files/version.cmake.in [moved from cmake/version.cmake.in with 100% similarity]
cmake/get_version.cmake

index 700b8dc..e0375b2 100644 (file)
@@ -68,7 +68,7 @@ string(LENGTH "${CMAKE_SOURCE_DIR}/" BASELENGTH)
 add_definitions(-DBASEPATH_LENGTH=${BASELENGTH})
 
 # include build helper
-include (cmake/OONFBuildLibrary.cmake)
+include (cmake/declare_library.cmake)
 
 # include files
 include_directories(${PROJECT_BINARY_DIR})
index a5bcc8f..bd23d4d 100644 (file)
@@ -29,5 +29,5 @@ ELSEIF(NOT OONF_LIB_GIT OR NOT OONF_VERSION)
   ENDIF()
   
   message ("Git commit: ${LIB_GIT}, Git version: ${VERSION}")
-  configure_file (${CMAKE_SOURCE_DIR}/cmake/version.cmake.in ${PROJECT_BINARY_DIR}/version.cmake)
+  configure_file (${CMAKE_SOURCE_DIR}/cmake/files/version.cmake.in ${PROJECT_BINARY_DIR}/version.cmake)
 ENDIF()