• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Convert Jamfile
2# Copyright (c) Vladimir Batov 2009-2014
3# Distributed under the Boost Software License, Version 1.0.
4# See copy at http://www.boost.org/LICENSE_1_0.txt.
5
6# bring in the rules for testing
7import testing ;
8
9project convert_examples
10    : requirements
11        <warnings>on
12        <toolset>gcc:<warnings>all
13        <toolset>msvc:<warnings>all
14        <toolset>gcc:<cxxflags>"-Wno-unused-local-typedefs -Wno-unused-variable -Wno-long-long"
15        <toolset>msvc:<cxxflags>"/wd4996 /wd4512 /wd4610 /wd4510 /wd4127 /wd4701 /wd4127 /wd4305 /wd4100 /wd4512 /wd4714"
16        <toolset>msvc:<asynch-exceptions>on
17        <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
18        <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
19        <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
20        <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
21        <include>../include
22    ;
23
24run algorithms.cpp        :  :  :  :  convert_example_algorithms ;
25run default_converter.cpp :  :  :  :  convert_example_default_converter ;
26run getting_serious.cpp   :  :  :  :  convert_example_getting_started ;
27run getting_started.cpp   :  :  :  :  convert_example_getting_serious ;
28run lexical_cast.cpp      :  :  :  :  convert_example_lexical_cast_converter ;
29run stream.cpp            :  :  :  :  convert_example_stream_converter ;
30
31compile-fail default_converter_fail.cpp : <warnings>off <cxxflags>"-w" ;
32
33
34
35