Jussi Pakkanen
819da091c2
Use deterministic mode in ar when it is available.
9 years ago
Jussi Pakkanen
6a3e29ccd4
If test exes can not be removed (because e.g. an antivirus program holds on to the file), just leave them behind. Closes #378 .
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
4c041e2aec
Can tag include directories as system dirs to reduce compiler warning noise. Closes #345 .
9 years ago
Jussi Pakkanen
edaf663ee2
By default do not specify language version but instead use the compiler's default.
9 years ago
Jussi Pakkanen
7e1df7540d
Handle custom targets that produce static libraries that are then linked to other targets.
9 years ago
Martin Ejdestig
c75d2fc609
Replace c++1y with c++14 as a choice for cpp_std
...
c++1y is deprecated in GCC 5 (see -std option in man page). Not sure about
Clang since the documentation is a bit more sparse. But it is probably a
good idea to keep them in sync and also to prefer c++14 over c++1y since
c++1y was only temporary until the standard was done.
9 years ago
Martin Ejdestig
84f138e69a
Fix typo in description of cpp_std option for GnuCPPCompiler
...
It is already correct for ClangCPPCompiler.
9 years ago
Jussi Pakkanen
d92e6c4595
Boost win detection tuning.
9 years ago
Jussi Pakkanen
015688f506
Compile Windows resources. Closes #333 .
9 years ago
Jussi Pakkanen
161d633f36
Added support for calling into C.
9 years ago
Jussi Pakkanen
d531f915b1
Can build Swift libraries and link them.
9 years ago
Jussi Pakkanen
43b07729aa
Reworked swift code so now can use multiple source files in one target.
9 years ago
Jussi Pakkanen
7ed515dacc
Refactored dep file name so Swift dependency tracking works.
9 years ago
Jussi Pakkanen
d92504797f
Can build simple Swift executables.
9 years ago
Thibault Saunier
b15aa49af2
Handle the case where we can not execute a file the tempdir
9 years ago
Jussi Pakkanen
1caf7e6f4a
Yet another step in the neverending saga of -Wpedantic.
9 years ago
Jussi Pakkanen
e33cf31347
Do not use the linker in cross C++ sanity check to make bare metal projects work.
9 years ago
Jussi Pakkanen
78e2cf0641
More logging for compiler sanity testing.
9 years ago
Jussi Pakkanen
5f44748ddd
Fix debug format for msvc optimized builds.
9 years ago
Jussi Pakkanen
8495075cee
Turned builtin options into proper objects.
9 years ago
Jussi Pakkanen
2984d421b7
Put extra flags at the end because some versions of gcc do not handle -l flags before the source file.
9 years ago
Jussi Pakkanen
f16986e31b
Can set extra args to all compilation checks.
9 years ago
Jussi Pakkanen
0c63556286
Extra args also for compiles. Closes #292 .
9 years ago
Jussi Pakkanen
538073a9cf
Created a link test method.
9 years ago
Jussi Pakkanen
1c186d4a30
Only compile when doing cross compilation sanity checks because linking gets way too complicated.
9 years ago
Jussi Pakkanen
a05f0385e3
Clang fix.
9 years ago
Jussi Pakkanen
0d56955e9c
Created a stringarray option type and added Windows system libs option that uses it.
9 years ago
Jussi Pakkanen
9a4016d37a
Added option for VS exception type.
9 years ago
Jussi Pakkanen
50663144c3
Can set compiler options, added language versions for Gnu and Clang.
9 years ago
Jussi Pakkanen
d76e89f780
Extracted common functionality to base class.
9 years ago
Jussi Pakkanen
d23e59ed5f
But build type build args to vs command line.
9 years ago
Jussi Pakkanen
067935ce76
Added conf option for build tree layout.
9 years ago
Jussi Pakkanen
776f899e78
Made boost on windows kinda work.
9 years ago
Jussi Pakkanen
4dd6a85075
Fix Windows again.
9 years ago
Jussi Pakkanen
2e3bd006d3
Converted alignment check to work also when cross compiling.
9 years ago
Jussi Pakkanen
ad5795ed2e
Converted sizeof check to work also when cross compiling.
9 years ago
Marko Raatikainen
28f60ca474
Fix shared libraries for fortran
9 years ago
Jussi Pakkanen
4a06f6d399
Do not use fpic on mingw as it is not needed.
9 years ago
Jussi Pakkanen
6cca79b052
Added multiple selectable warning levels.
9 years ago
Jussi Pakkanen
cd97f7a768
Give sanity test binaries different names. Also expose project version to modules.
9 years ago
Jussi Pakkanen
bd5b4deeda
Better sanity testing.
9 years ago
Jussi Pakkanen
199c57d8d6
Added debugging output.
9 years ago
Jussi Pakkanen
eb3cdb6f8d
Changed cross compilation file to new format.
9 years ago
Jussi Pakkanen
cbc3723797
Store warning flags in object instead of class because it does not seem to unpickle cleanly on some platforms. Closes #209 .
9 years ago
Igor Gnatenko
19ae286aff
compilers: fix can_compile. Closes #189
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
6f76c45a54
Added dummy id field. Closes #181 .
10 years ago
Jussi Pakkanen
dc7665a7dd
Add dummy gcctype. Closes #184 .
10 years ago
Jussi Pakkanen
ec761ce560
Add gcctype for objc. Closes #179 . Closes #180 .
10 years ago