Alex Crichton
510d34f886
Execute `cmd` directory for bat scripts on Windows
7 years ago
Alex Crichton
3c636f76f4
Add sccache to the whitelist of ccache-like compilers
7 years ago
Alex Crichton
10871a0e40
Merge pull request #238 from jan-auer/master
Fix flag_if_supported for C++ only flags
7 years ago
Jan Michael Auer
ff3c88aa38
Add tests for flag_if_supported in C++ mode.
7 years ago
Jan Michael Auer
2bab93c403
Fix flag_if_supported for C++ sources.
7 years ago
Jan Michael Auer
1bdb6a92ec
Defer flag checks until compile() is called.
7 years ago
Alex Crichton
5cbb921bb6
Switch MSVC from /Wall to /W4
Apparently 4 is recommended by Microsoft!
https://msdn.microsoft.com/en-us/library/thxezb7y.aspx
7 years ago
Alex Crichton
faec391913
Don't capitalize library names
Not compatible with MinGW
7 years ago
Alex Crichton
7ac957188f
Bump to 0.3.53
7 years ago
Alex Crichton
d5988a756f
Correct lookup of `DEBUG`
7 years ago
Alex Crichton
058774d537
Bump to 0.3.52
7 years ago
Alex Crichton
baafec3db8
Merge pull request #233 from Boddlnagg/patch-1
Add useful derives for `VsVers`
7 years ago
Patrick Reisert
aff0e1b31d
Add useful derives for `VsVers`
I needed `Debug`, but I guess the others are useful as well?
7 years ago
Alex Crichton
ba9d6943bf
Merge pull request #232 from laumann/explain-cargo-metadata
Explain emitted cargo metadata
7 years ago
Thomas Jespersen
5ef5e48ebe
Explain emitted cargo metadata
Add a list of emitted metadata recognized by Cargo, when cargo_metadata is true.
Fixes #194
7 years ago
Alex Crichton
e2f3cc0b5a
Merge pull request #231 from FaultyRAM/fix-non-delimited-lib-names
Fix non-delimited library names
7 years ago
FaultyRAM
01cbcf90f1
Fix non-delimited library names
These were accepted in https://github.com/alexcrichton/gcc-rs/pull/212 , but never actually worked and weren't being tested. This fixes the logic errors that prevented the new style from working, and also updates the tests to use the new style.
7 years ago
Alex Crichton
a55b443c53
Merge branch 'try-refactor' of https://github.com/marco9999/gcc-rs
7 years ago
Alex Crichton
9a099714c1
Merge pull request #226 from laumann/rename-config-type
Rename `Config` type to `Build`
7 years ago
Thomas Jespersen
dc7162fe40
Add Config as alias for Build
This allows adding deprecation warnings and including the rename in the 0.3
series.
7 years ago
Thomas Jespersen
dc4bfb4715
Rename `Config` type to `Build`
Fixes #189
7 years ago
Alex Crichton
5824f286a3
Merge branch 'into-option-str' of https://github.com/laumann/gcc-rs
7 years ago
Alex Crichton
55d6205879
Merge pull request #229 from opilar/bugfix/debug-env
Check for DEBUG env var
7 years ago
Alex Crichton
30e4497e20
Merge pull request #228 from opilar/feature/common-std-libs
Feature/common std libs
7 years ago
Alex Crichton
c74cd42347
Merge pull request #216 from opilar/feature/warning-control
Add warnings control
7 years ago
Alex Crichton
60211054ec
Merge pull request #207 from opilar/feature/link-set-stdlib-examples
cpp_link_stdlib/cpp_set_stdlib examples
7 years ago
opilarium
5de014da40
Check for DEBUG env var
7 years ago
opilarium
f8d11980bb
Document common values for std libs
7 years ago
opilarium
3933e0093b
Add tests
7 years ago
opilarium
e9caabf069
Add warning message to warnings_into_errors method
7 years ago
opilarium
26b86649b2
The same warning flags for GNU and Clang
7 years ago
opilarium
8ce7108d75
Add warnings control
8 years ago
opilarium
0cb7d0ba87
Fix examples
7 years ago
Thomas Jespersen
8c644e54e9
Config: accept Into<Option<&str>> instead of Option<&str>
Per @dtolnay's suggestion, change methods on Config that accepts Option<&str> to
accept Into<Option<&str>> to make the calls look neater.
Fixes #224
7 years ago
Marco Satti
1067a72539
Fix Error new function typo.
7 years ago
Marco Satti
3cd8c8c44a
Update min rust version to 1.13.0 to support '?' feature.
7 years ago
Marco Satti
158cb3a8a8
Refactored rest of error checking.
8 years ago
Marco Satti
b6dc1bd9a5
Merge branch 'try-refactor' of https://github.com/marco9999/gcc-rs into try-refactor
8 years ago
Marco Satti
fd504ab5af
Added Into<Error> trait from io::Error. Partial refactoring of the errors thrown.
8 years ago
Marco Satti
da8101408d
Fix expand() signature.
8 years ago
Marco Satti
79023e0652
Make error types private.
8 years ago
Marco Satti
2b6fb672a8
Added in parallel compile_objects() error handling.
8 years ago
Marco Satti
0283924777
Added a try variant to fn get_compiler.
8 years ago
Marco Satti
f4958c81a5
Added in error checking for the compile() and expand() functions.
8 years ago
Alex Crichton
88ac58e25c
Merge pull request #221 from jehiggs/master
Clarify behavior of `expand`
8 years ago
James Higgs
8d0695d502
Merge remote-tracking branch 'upstream/master'
8 years ago
Alex Crichton
3ea767f12a
Skip flag_if_supported test on Windows
8 years ago
Alex Crichton
7775fd3df7
Merge pull request #219 from chrisvittal/asm-doc
Add note that crate can compile assembly.
8 years ago
James Higgs
e4987130c2
Merge remote-tracking branch 'upstream/master'
8 years ago
James Higgs
f8fcfe1f2b
Update assert and adjust docs
8 years ago