INI parser now contains a CMake script

This commit is contained in:
TheAssassin
2018-11-07 22:46:26 +01:00
parent 62f04213ce
commit bedd66d161
+1 -9
View File
@@ -9,15 +9,7 @@ add_library(args INTERFACE)
target_sources(args INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/args/args.hxx)
target_include_directories(args INTERFACE args)
add_library(cpp-feather-ini-parser INTERFACE)
target_sources(cpp-feather-ini-parser INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/cpp-feather-ini-parser/INI.h)
target_include_directories(cpp-feather-ini-parser INTERFACE cpp-feather-ini-parser)
if(BUILD_TESTING)
add_executable(test_cpp_feather_ini_parser ${CMAKE_CURRENT_SOURCE_DIR}/cpp-feather-ini-parser/example/example.cpp)
target_link_libraries(test_cpp_feather_ini_parser PRIVATE cpp-feather-ini-parser)
add_test(test_cpp_feather_ini_parser test_cpp_feather_ini_parser)
endif()
add_subdirectory(cpp-feather-ini-parser)
if(NOT USE_SYSTEM_BOOST)
add_library(boost_config INTERFACE)