diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 85d1806..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright Troy D. Straszheim -# -# Distributed under the Boost Software License, Version 1.0. -# See http://www.boost.org/LICENSE_1_0.txt -# -#---------------------------------------------------------------------------- -# This file was automatically generated from the original CMakeLists.txt file -# Add a variable to hold the headers for the library -set (lib_headers - program_options.hpp - program_options -) - -# Add a library target to the build system -boost_library_project( - program_options - SRCDIRS src - TESTDIRS test - HEADERS ${lib_headers} - # DOCDIRS - DESCRIPTION "Access to configuration data given on command line, in config files and other sources." - MODULARIZED - AUTHORS "Vladimir Prus " - # MAINTAINERS -) - - diff --git a/module.cmake b/module.cmake deleted file mode 100644 index cf44a1e..0000000 --- a/module.cmake +++ /dev/null @@ -1 +0,0 @@ -boost_module(program_options DEPENDS any bind smart_ptr test tokenizer) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt deleted file mode 100644 index 9faacf8..0000000 --- a/src/CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ -# -# Copyright Troy D. Straszheim -# -# Distributed under the Boost Software License, Version 1.0. -# See http://www.boost.org/LICENSE_1_0.txt -# -boost_add_library(boost_program_options - cmdline.cpp config_file.cpp options_description.cpp parsers.cpp - variables_map.cpp value_semantic.cpp positional_options.cpp - utf8_codecvt_facet.cpp convert.cpp winmain.cpp - SHARED_COMPILE_FLAGS "-DBOOST_PROGRAM_OPTIONS_DYN_LINK=1") diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt deleted file mode 100644 index 48ec7b1..0000000 --- a/test/CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -# -# Copyright Troy D. Straszheim -# -# Distributed under the Boost Software License, Version 1.0. -# See http://www.boost.org/LICENSE_1_0.txt -# -boost_additional_test_dependencies(program_options BOOST_DEPENDS test) - -set(PROGRAM_OPTIONS_LIBRARIES - boost_program_options - boost_test_exec_monitor) - -set(BOOST_TEST_EXEC_MONITOR_SUFFIX "") -if (NOT BUILD_SINGLE_THREADED) - set(BOOST_TEST_EXEC_MONITOR_SUFFIX "-mt") -endif() -set(BOOST_TEST_EXEC_MONITOR_SUFFIX "${BOOST_TEST_EXEC_MONITOR_SUFFIX}-static") -if (NOT BUILD_RELEASE) - set(BOOST_TEST_EXEC_MONITOR_SUFFIX "${BOOST_TEST_EXEC_MONITOR_SUFFIX}-debug") -endif() - -macro(program_options_test_run TESTNAME) - boost_test_run(${TESTNAME} - STATIC - DEPENDS boost_program_options boost_test_exec_monitor ) - boost_test_run("${TESTNAME}_dll" - ${TESTNAME}.cpp - SHARED - DEPENDS boost_program_options - "boost_test_exec_monitor${BOOST_TEST_EXEC_MONITOR_SUFFIX}") -endmacro(program_options_test_run) - -program_options_test_run(options_description_test) -program_options_test_run(parsers_test) -program_options_test_run(variable_map_test) -program_options_test_run(cmdline_test) -program_options_test_run(positional_options_test) -program_options_test_run(unicode_test) -program_options_test_run(winmain)