Compare commits

...

7 Commits

Author SHA1 Message Date
Beman Dawes
b19fb415c1 Release 1.37.0
[SVN r51178]
2009-02-10 13:14:42 +00:00
Troy D. Straszheim
b55001a061 merge of cmake build files from trunk per beman
[SVN r50756]
2009-01-24 18:57:20 +00:00
Vladimir Prus
2a16575f98 Merge from trunk. No code changes, only properties and docs and examples
[SVN r47336]
2008-07-12 09:03:18 +00:00
Vladimir Prus
f14a369077 Merge r43992
[SVN r47335]
2008-07-12 08:58:04 +00:00
Vladimir Prus
9df5124fed Don't hardcode cout.
Suggested by Guido Ziliotti.


[SVN r47285]
2008-07-10 09:40:04 +00:00
Vladimir Prus
86487c7b63 Add example of zero_tokens
[SVN r45450]
2008-05-17 07:28:17 +00:00
Vladimir Prus
6cd68a2fd9 Clarify docs. Fixes #1530.
[SVN r45448]
2008-05-17 07:06:59 +00:00
5 changed files with 52 additions and 1 deletions

22
CMakeLists.txt Normal file
View 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
)

View File

@@ -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
View 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
View 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
View 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)