mirror of
https://github.com/boostorg/program_options.git
synced 2026-01-20 04:42:24 +00:00
Compare commits
36 Commits
svn-branch
...
boost-1.38
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b19fb415c1 | ||
|
|
b55001a061 | ||
|
|
2a16575f98 | ||
|
|
f14a369077 | ||
|
|
9df5124fed | ||
|
|
86487c7b63 | ||
|
|
6cd68a2fd9 | ||
|
|
f0eae2ccfe | ||
|
|
b2a01d9405 | ||
|
|
2d0c627d34 | ||
|
|
2cc29f6dfa | ||
|
|
198b29d107 | ||
|
|
f407b6ce47 | ||
|
|
87938cfa8e | ||
|
|
9a73a1c412 | ||
|
|
37143a449d | ||
|
|
2e0e9fd30b | ||
|
|
1bd588d677 | ||
|
|
d83e0dea37 | ||
|
|
54daca4c09 | ||
|
|
f4eac99310 | ||
|
|
a367a1b021 | ||
|
|
720d0455dd | ||
|
|
aad1a60172 | ||
|
|
1e4d1dee3d | ||
|
|
e718d0a8a5 | ||
|
|
ab30ec28eb | ||
|
|
682f1b7670 | ||
|
|
43577d0ca8 | ||
|
|
d05b400b13 | ||
|
|
4863727509 | ||
|
|
7d90a1b1b2 | ||
|
|
ac9830625b | ||
|
|
252a3f9ebd | ||
|
|
b1dc87da3c | ||
|
|
1fbf955272 |
22
CMakeLists.txt
Normal file
22
CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
#----------------------------------------------------------------------------
|
||||
# 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
|
||||
)
|
||||
|
||||
|
||||
3
module.cmake
Normal file
3
module.cmake
Normal file
@@ -0,0 +1,3 @@
|
||||
boost_module(program_options DEPENDS any bind smart_ptr tokenizer)
|
||||
|
||||
# bind is needed because of a dependency on boost/mem_fn.hpp
|
||||
5
src/CMakeLists.txt
Normal file
5
src/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
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")
|
||||
21
test/CMakeLists.txt
Normal file
21
test/CMakeLists.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
boost_additional_test_dependencies(program_options BOOST_DEPENDS test)
|
||||
|
||||
set(PROGRAM_OPTIONS_LIBRARIES
|
||||
boost_program_options
|
||||
boost_test_exec_monitor)
|
||||
|
||||
macro(program_options_test_run TESTNAME)
|
||||
boost_test_run(${TESTNAME}
|
||||
DEPENDS boost_program_options boost_test_exec_monitor STATIC)
|
||||
boost_test_run("${TESTNAME}_dll"
|
||||
"${TESTNAME}.cpp"
|
||||
DEPENDS boost_program_options boost_test_exec_monitor-static SHARED)
|
||||
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