Alex Crichton
3f11be75c9
Merge pull request #248 from illicitonion/override-warnings
Add custom flags after -Wall
7 years ago
Daniel Wagner-Hall
2ba6e98f39
Add custom flags after -Wall
Right now we add them before, and we add -Wall by default. This allows
users to manually turn off specific warnings, without having to resort
to a dance of:
```
.warnings(false)
.flag("-Wall")
.flag("-Wno-foo")
```
This strikes a good balance of keeping -Wall on by default, while
minimising the surprising experience observed in
https://github.com/alexcrichton/cc-rs/issues/235 .
7 years ago
Alex Crichton
8d64b6dc39
Merge pull request #246 from Jake-Shadle/flag_check_fix
fix(flag_check): Send flag to MSVC telling it not to link
7 years ago
Jake Shadle
fce58d62a1
fix(flag_check): Send flag to MSVC telling it not to link
7 years ago
Peter Jin
2936d7f0f8
Automatically detect the C dialect from file extensions, and use the
"largest" dialect.
7 years ago
Peter Jin
3ccd18d012
Merge branch 'master' into peterhj-cuda
7 years ago
Peter Jin
1f96098a96
Add an `Object` representation.
7 years ago
Alex Crichton
4f73673513
Use `cmd /c emar.bat` on Windows emscripten
cc #239
7 years ago
Alex Crichton
0a2ea72439
Merge pull request #244 from makotokato/android-thumb2
Use Thumb-2 as Android/armv7-a's default
7 years ago
Alex Crichton
efd3616173
Update Travis/AppVeyor configs
7 years ago
Alex Crichton
92c803699b
Note that this is a rename crate
7 years ago
Alex Crichton
54c0d23086
Bump to 1.0.0
7 years ago
Alex Crichton
a870963e37
Fix tests from rename
7 years ago
Alex Crichton
410992fcf9
Rename the crate to `cc`
Closes #186
7 years ago
Peter Jin
a481c8911c
Revamped support for CUDA C++ compilation.
7 years ago
Makoto Kato
002f8a73ff
Use thumb2 as Android/armv7-a's default
7 years ago
Alex Crichton
dc329205d5
Bump to 0.3.54
7 years ago
Alex Crichton
b8efa21179
Only pass -Oz to clang
Closes #241
7 years ago
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
8 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