mirror of
https://github.com/boostorg/program_options.git
synced 2026-01-20 16:52:14 +00:00
Compare commits
7 Commits
boost-1.35
...
boost-1.38
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b19fb415c1 | ||
|
|
b55001a061 | ||
|
|
2a16575f98 | ||
|
|
f14a369077 | ||
|
|
9df5124fed | ||
|
|
86487c7b63 | ||
|
|
6cd68a2fd9 |
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
|
||||
)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright © 2001 Ronald Garcia, Indiana University (garcia@osl.iu.edu)
|
||||
// Copyright (c) 2001 Ronald Garcia, Indiana University (garcia@osl.iu.edu)
|
||||
// Andrew Lumsdaine, Indiana University (lums@osl.iu.edu). Permission to copy,
|
||||
// use, modify, sell and distribute this software is granted provided this
|
||||
// copyright notice appears in all copies. This software is provided "as is"
|
||||
|
||||
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