Gabriele Contini
2020-02-24 9afdac17dcc8956fd795797bfc5b6e1c09285342
test/CMakeLists.txt
@@ -8,16 +8,10 @@
   "${CMAKE_CURRENT_SOURCE_DIR}/../src/templates/licensecc_properties_test.h.in" 
   "${CMAKE_BINARY_DIR}/licensecc_properties_test.h.tmp"
)
IF(CMAKE_VERSION VERSION_GREATER_EQUAL 3.0)
   file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/include/$<CONFIG>/licensecc_properties_test.h"
file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/include/$<CONFIG>/licensecc_properties_test.h"
      INPUT "${CMAKE_BINARY_DIR}/licensecc_properties_test.h.tmp")
   include_directories ( ${CMAKE_BINARY_DIR}/include/$<CONFIG> )
ELSE(CMAKE_VERSION VERSION_GREATER_EQUAL 3.0)
#patch for Centos 7 cmake 2.8.11 :(
   file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/include/$<CONFIGURATION>/licensecc_properties_test.h"
      INPUT "${CMAKE_BINARY_DIR}/licensecc_properties_test.h.tmp")
   include_directories ( ${CMAKE_BINARY_DIR}/include/$<CONFIGURATION> )
endif(CMAKE_VERSION VERSION_GREATER_EQUAL 3.0)
include_directories ( ${CMAKE_BINARY_DIR}/include/$<CONFIG> )
add_subdirectory(library)
add_subdirectory(functional)