mirror of
https://github.com/boostorg/program_options.git
synced 2026-01-19 04:22:15 +00:00
Make the library modular usable.
This commit is contained in:
11
Jamfile
11
Jamfile
@@ -1,11 +0,0 @@
|
||||
# Boost.ProgramOptions Library Jamfile
|
||||
#
|
||||
# Copyright (c) 2018 James E. King III
|
||||
#
|
||||
# Use, modification, and distribution are subject to the
|
||||
# Boost Software License, Version 1.0. (See accompanying file
|
||||
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# please order by name to ease maintenance
|
||||
build-project example ;
|
||||
build-project test ;
|
||||
33
build.jam
Normal file
33
build.jam
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright René Ferdinand Rivera Morell 2023
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
import project ;
|
||||
|
||||
project /boost/program_options
|
||||
: common-requirements
|
||||
<source>/boost/any//boost_any
|
||||
<source>/boost/bind//boost_bind
|
||||
<source>/boost/config//boost_config
|
||||
<source>/boost/core//boost_core
|
||||
<source>/boost/detail//boost_detail
|
||||
<source>/boost/function//boost_function
|
||||
<source>/boost/iterator//boost_iterator
|
||||
<source>/boost/lexical_cast//boost_lexical_cast
|
||||
<source>/boost/smart_ptr//boost_smart_ptr
|
||||
<source>/boost/static_assert//boost_static_assert
|
||||
<source>/boost/throw_exception//boost_throw_exception
|
||||
<source>/boost/tokenizer//boost_tokenizer
|
||||
<source>/boost/type_traits//boost_type_traits
|
||||
<include>include
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_program_options : build//boost_program_options ]
|
||||
[ alias all : boost_program_options example test ]
|
||||
;
|
||||
|
||||
call-if : boost-library program_options
|
||||
: install boost_program_options
|
||||
;
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
project boost/program_options
|
||||
project
|
||||
: source-location ../src
|
||||
;
|
||||
|
||||
@@ -9,8 +9,9 @@ SOURCES =
|
||||
convert winmain split
|
||||
;
|
||||
|
||||
boost-lib program_options
|
||||
lib boost_program_options
|
||||
: $(SOURCES).cpp
|
||||
: # See https://svn.boost.org/trac/boost/ticket/5049
|
||||
<target-os>hpux,<toolset>gcc:<define>_INCLUDE_STDC__SOURCE_199901
|
||||
;
|
||||
<link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1
|
||||
;
|
||||
|
||||
@@ -38,7 +38,7 @@ test-suite program_options :
|
||||
[ run options_description_test.cpp : : : <rtti>off : options_description_no_rtti_test ]
|
||||
;
|
||||
|
||||
exe test_convert : test_convert.cpp ;
|
||||
exe test_convert : test_convert.cpp /boost/timer//boost_timer ;
|
||||
|
||||
# `quick` target (for CI)
|
||||
run quick.cpp : --path=initial ;
|
||||
|
||||
Reference in New Issue
Block a user