mirror of
https://github.com/boostorg/program_options.git
synced 2026-01-19 04:22:15 +00:00
rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
[SVN r56941]
This commit is contained in:
@@ -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 <ghost -at- cs.msu.su>"
|
||||
# MAINTAINERS
|
||||
)
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
boost_module(program_options DEPENDS any bind smart_ptr test tokenizer)
|
||||
@@ -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")
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user