Compare commits

...

15 Commits

Author SHA1 Message Date
Peter Dimov
800edc0398 Merge pull request #4 from grafikrobot/modular
Add support for modular build structure.
2025-05-02 19:14:34 +03:00
Rene Rivera
38d03ab2ea Move include to target. 2025-04-17 09:06:30 -05:00
Rene Rivera
50557938f7 Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:24 -05:00
Rene Rivera
2df472e283 Bump B2 require to 5.2 2024-06-14 11:33:56 -05:00
Rene Rivera
134c1b9aed Add requires-b2 check to top-level build file. 2024-05-05 09:00:01 -05:00
Rene Rivera
2b21f3cd85 Switch to library requirements instead of source. As source puts extra source in install targets. 2024-03-29 21:15:59 -05:00
Rene Rivera
8b16a6c5fc Make the library modular usable. 2024-03-11 08:38:17 -05:00
Peter Dimov
1f7f9ce993 Merge pull request #3 from sdarwin/meta
update metadata
2021-11-12 04:59:07 +02:00
sdarwin
c896a2aef3 update metadata 2021-11-05 13:05:15 -05:00
Peter Dimov
42c7f5fedf Add CMakeLists.txt 2021-06-04 03:57:30 +03:00
Edward Diener
7935317a85 Merge pull request #2 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-01-21 02:01:28 -05:00
Edward Diener
080d00d7a5 [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-20 23:57:41 -05:00
Edward Diener
97bae2dfe7 Updated for b2 cmake support. 2018-12-19 22:34:51 -05:00
Edward Diener
112183135b Removed executable flag. 2018-12-03 07:18:20 -05:00
Edward Diener
3a6e7d1b43 Remove executable permissions from files. 2018-11-16 21:44:05 -05:00
11 changed files with 58 additions and 2 deletions

View File

@@ -119,6 +119,8 @@ install:
- git submodule update --init tools/build - git submodule update --init tools/build
- git submodule update --init libs/config - git submodule update --init libs/config
- git submodule update --init tools/boostdep - git submodule update --init tools/boostdep
- git submodule update --init tools/boost_install
- git submodule update --init libs/headers
- mkdir -p libs/parameter_python - mkdir -p libs/parameter_python
- cp -r $TRAVIS_BUILD_DIR/* libs/parameter_python - cp -r $TRAVIS_BUILD_DIR/* libs/parameter_python
- python tools/boostdep/depinst/depinst.py parameter_python - python tools/boostdep/depinst/depinst.py parameter_python

28
CMakeLists.txt Normal file
View File

@@ -0,0 +1,28 @@
# Generated by `boostdep --cmake parameter_python`
# Copyright 2020 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
cmake_minimum_required(VERSION 3.5...3.16)
project(boost_parameter_python VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
add_library(boost_parameter_python INTERFACE)
add_library(Boost::parameter_python ALIAS boost_parameter_python)
target_include_directories(boost_parameter_python INTERFACE include)
target_link_libraries(boost_parameter_python
INTERFACE
Boost::mpl
Boost::parameter
Boost::preprocessor
Boost::python
)
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)
endif()

25
build.jam Normal file
View File

@@ -0,0 +1,25 @@
# Copyright René Ferdinand Rivera Morell 2024
# 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)
require-b2 5.2 ;
constant boost_dependencies :
/boost/mpl//boost_mpl
/boost/parameter//boost_parameter
/boost/preprocessor//boost_preprocessor
/boost/python//boost_python ;
project /boost/parameter_python
;
explicit
[ alias boost_parameter_python : : :
: <include>include <library>$(boost_dependencies) ]
[ alias all : boost_parameter_python test ]
;
call-if : boost-library parameter_python
;

0
doc/Jamfile.v2 Executable file → Normal file
View File

0
doc/html/rst.css Executable file → Normal file
View File

0
include/boost/parameter/aux_/python/invoker.hpp Executable file → Normal file
View File

View File

0
include/boost/parameter/python.hpp Executable file → Normal file
View File

0
index.html Executable file → Normal file
View File

View File

@@ -1,6 +1,6 @@
{ {
"key": "parameter_python", "key": "parameter_python",
"name": "Parameter Python bindings", "name": "Parameter Python Bindings",
"authors": [ "authors": [
"David Abrahams", "David Abrahams",
"Daniel Wallin" "Daniel Wallin"
@@ -13,5 +13,6 @@
"maintainers": [ "maintainers": [
"David Abrahams <dave -at- boost-consulting.com>", "David Abrahams <dave -at- boost-consulting.com>",
"Daniel Wallin <daniel -at- boostpro.com>" "Daniel Wallin <daniel -at- boostpro.com>"
] ],
"cxxstd": "03"
} }

0
test/python_test.cpp Executable file → Normal file
View File