File: Jamfile

package info (click to toggle)
boost1.90 1.90.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 593,156 kB
  • sloc: cpp: 4,190,642; xml: 196,648; python: 34,618; ansic: 23,145; asm: 5,468; sh: 3,776; makefile: 1,161; perl: 1,020; sql: 728; ruby: 676; yacc: 478; java: 77; lisp: 24; csh: 6
file content (73 lines) | stat: -rw-r--r-- 2,133 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copyright (c) 2024 Klemens D. Morgenstern
#
# 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 os ;
import feature ;
import-search /boost/config/checks ;
import config : requires ;

project : requirements
  <define>BOOST_ASIO_NO_DEPRECATED
  <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
  <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
  <toolset>msvc:<cxxflags>/bigobj
  <target-os>windows:<define>WIN32_LEAN_AND_MEAN
  <target-os>linux:<linkflags>-lpthread
  : source-location ../src
  : common-requirements
    <library>$(boost_dependencies)
    <boost.process.fs>std:<define>BOOST_PROCESS_USE_STD_FS=1
;

alias process_sources
   : detail/environment_posix.cpp
     detail/environment_win.cpp
     detail/last_error.cpp
     detail/process_handle_windows.cpp
     detail/throw_error.cpp
     detail/utf8.cpp
     ext/cmd.cpp
     ext/cwd.cpp
     ext/env.cpp
     ext/exe.cpp
     ext/proc_info.cpp
     posix/close_handles.cpp
     windows/default_launcher.cpp
     environment.cpp
     error.cpp
     pid.cpp
     shell.cpp
   ;

lib shell32 ;
lib advapi32 ;
lib ntdll ;
lib user32 ;
lib ws2_32 ;

lib kvm ;
lib procstat ;

lib boost_process
   : process_sources
   : requirements <define>BOOST_PROCESS_SOURCE=1
     <link>shared:<define>BOOST_PROCESS_DYN_LINK=1
     <boost.process.fs>boost:<library>/boost/filesystem//boost_filesystem
     <boost.process.disable-close-range>on:<define>BOOST_PROCESS_V2_POSIX_FORCE_DISABLE_CLOSE_RANGE=1
     <target-os>windows:<library>shell32
     <target-os>windows:<library>user32
     <target-os>windows:<library>ntdll
     <target-os>windows:<library>advapi32
     <target-os>windows:<library>ws2_32
     <target-os>bsd:<library>kvm
     <target-os>freebsd:<library>kvm
     <target-os>freebsd:<library>procstat
     <target-os>netbsd:<library>kvm
     <target-os>openbsd:<library>kvm
     <target-os>solaris:<library>kvm
   : usage-requirements
     <link>shared:<define>BOOST_PROCESS_DYN_LINK=1
     <boost.process.fs>boost:<library>/boost/filesystem//boost_filesystem
  ;