Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
James Hilliard
315ab997b4
Add tests for sources that are disablers.
...
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
James Hilliard
b21fd95f73
Add is_disabler function
...
This is useful if one needs to check if a variable is a disabler.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
Dylan Baker
28aac9fc3b
test cases: Add ICL branches in addition to ICC branches
6 years ago
Nirbheek Chauhan
731aca216e
icc: Fix C/C++ std options and add a unit test for them
...
Compiler versions 15.0 and later actually ignore invalid values for the
-std= option unless `-diag-error 10159` is passed, so we need to put
that in the unit test.
I have tested this with versions 14.0.3, 15.0.6, 16.0.4, and 17.0.1.
Would be great if someone could test with 13.x.y
8 years ago
Jussi Pakkanen
77e9a24589
Can specify extra files that show up in IDEs as parts of a target.
11 years ago
Jussi Pakkanen
3fb0e48bf4
Finished renaming.
12 years ago
Jussi Pakkanen
89aa4e2233
C++ is now called cpp rather than cxx.
12 years ago
Jussi Pakkanen
d4284aae89
Renamed add_test to test.
12 years ago
Jussi Pakkanen
9262fe600a
Split test suite into common and platform dependent parts.
12 years ago
Jussi Pakkanen
9418ece26a
Renamed system from builder to Meson.
12 years ago
Jussi Pakkanen
775b680826
Renamed language name from c++ to cxx to make things easier.
12 years ago
Jussi Pakkanen
03e557992a
Define used languages in project() function.
12 years ago
Jussi Pakkanen
36e2b0cd37
Run generated tests as part of overall testing.
12 years ago
Jussi Pakkanen
ea99126496
Can build static libraries.
12 years ago
Jussi Pakkanen
e01200a4ab
Added support for C++.
12 years ago