Peter Kuemmel
f430bea11b
Ninja: maybe this fixes the bcc32 build
2012-06-16 12:54:10 +02:00
Peter Kuemmel
f2c12887ba
Ninja: msvc6 for-scoping
2012-06-16 12:51:25 +02:00
Peter Kuemmel
44b9bbc89d
Ninja: build with old msvc versions
2012-06-16 12:40:59 +02:00
Peter Kuemmel
57156a5d30
Ninja: build server fixes
...
- disable cldeps on cygwin
- don't "use" namespace std
2012-06-16 12:31:50 +02:00
Peter Kuemmel
f1abdce1cc
Ninja: some bytes of the rc files couldn't be piped correctly
...
Write to a file again but generate it in the object dir
2012-06-15 18:56:34 +02:00
Peter Kuemmel
2de963d996
Ninja: don't remove space between command and parameters
2012-06-15 17:52:17 +02:00
Peter Kuemmel
50b6f33dbc
Ninja: build cmcldeps with mingw
2012-06-15 13:46:49 +02:00
Peter Kuemmel
c05653e18c
Ninja: try to make GetProcessId visible
2012-06-15 13:38:52 +02:00
Peter Kuemmel
ab245ff3c8
Ninja: but cl supports /nologo ...
2012-06-15 13:07:05 +02:00
Peter Kuemmel
bf58e9adec
Ninja: no /nologo option in old rc.exe
2012-06-15 12:49:01 +02:00
Peter Kuemmel
2fb07fc44c
Ninja: Eclipse and KDevelop fixes for ninja
...
Thx to Claus Klein
2012-06-15 12:14:13 +02:00
Peter Kuemmel
518c06585b
Ninja: don't pollute build dir with preprocessed rc files
2012-06-15 10:40:04 +02:00
Peter Kuemmel
41c28dc35b
Ninja: be more accurate when estimating the command line length
2012-06-15 02:00:15 +02:00
Peter Kuemmel
f13a6a087e
Ninja: undo all the NOSHELL patches
2012-06-15 01:43:08 +02:00
David Cole
555bda4e43
Ninja: Restructure code to work with the Borland compilers
...
Should fix the Borland dashboard errors.
2012-06-14 13:39:39 -04:00
Peter Kuemmel
69bc5131b2
Ninja: remove nop line
2012-06-14 18:16:19 +02:00
Peter Kuemmel
f1aa026fb9
Ninja: build with old vc versions
2012-06-14 18:02:43 +02:00
Peter Kuemmel
eda3075478
Ninja: sh needs something befor and after &&
2012-06-14 17:26:01 +02:00
Peter Kuemmel
1d55ea557d
Ninja: fix Linux build
2012-06-14 16:01:35 +02:00
Peter Kuemmel
6e6886d3bd
Ninja: ninja now also could read parentheses in .d files
2012-06-14 14:37:08 +02:00
Peter Kuemmel
6546086004
Ninja: don't use shell when cmake is called directly
...
When linking with cmake and vs_link_* the command line
could be too long for cmd.exe, which needs not to be
called in this case. (was not cached by a test)
Introduce rules which don't use the shell and use this
rule when there are no pre or post step.
For free we get a small speedup, because cmd is then
not called.
Also be more accurate when estimating the
command line length.
2012-06-14 14:22:56 +02:00
Peter Kuemmel
220fdc16fc
Ninja: cmcldeps
...
- don't depend on argument order
- update help
2012-06-14 10:48:32 +02:00
Peter Kuemmel
77cb7b502f
Ninja: suppress startup logos
...
Having Ninja's smart printing we are more allergic on
unneeded tool output.
2012-06-14 10:48:31 +02:00
Peter Kuemmel
ab8a2a57f2
Ninja: onyl use pre processor for rc file parsing
2012-06-13 19:20:01 +02:00
Peter Kuemmel
4b43999ca3
Ninja: remove unused CommentStream
2012-06-13 17:23:31 +02:00
Peter Kuemmel
54a388beaa
Ninja: extract dependencies for .rc files with msvc tools
...
rc.exe doesn't support /showIncludes.
Because .rc files also #include stuff we can
misuse cl.exe to get the included files.
Done one the fly by cmcldeps.
2012-06-13 17:14:16 +02:00
Peter Kuemmel
43200c145d
Ninja: work with ninja/master, don't compile rc files with cl
...
Ninja generates for paths with spaces wrong results for $out.d,
using the new DEP_FILE variable instead.
2012-06-13 00:52:46 +02:00
Peter Kuemmel
12cc6434bf
Ninja: ninja can't read dep. pathes with parentheses
2012-06-12 14:36:39 +02:00
Peter Kuemmel
5590625fa3
Ninja: use slashes for include dirs, so also slahes are in the .d files
2012-06-12 13:52:32 +02:00
Peter Kuemmel
38aa9e97f2
Ninja: complete MinGW support
2012-06-12 04:17:55 +02:00
Peter Kuemmel
c54ef23c16
Line Length: <79
2012-06-12 00:51:08 +02:00
Peter Kuemmel
4db9dd89df
Ninja: use slahes in .d files
2012-06-10 21:27:25 +02:00
Peter Kuemmel
ba8d0db217
Ninja: don't pollute the rules file with useless comments
2012-06-10 20:20:29 +02:00
Peter Kuemmel
343ff7a72e
Ninja: fix line length
2012-06-10 15:31:06 +02:00
Peter Kuemmel
1a38a5d65f
Ninja: allow spaces in cldeps's .d file
2012-06-10 15:22:01 +02:00
Peter Kuemmel
db607dea8d
Ninja: don't use cmcldeps for try_compile
2012-06-09 14:12:11 +02:00
Peter Kuemmel
941afa571c
Ninja: allow spaces in source path
...
And make /showIncude prefix visible for all build rules
2012-06-08 22:59:18 +02:00
Peter Kuemmel
033a687acd
Ninja: add wrapper for cl to extract dependencies
...
cmcldeps wraps cl and adds /showInclude before calling cl.
It parses the output of cl for used headers, drops system
headers and writes them to a GCC like dependency file.
cmcldeps uses ATM ninja code for process handling,
but could be ported later to SystemTools.
TODO: Why needs ninja multiple calls in the BuildDepends test?
2012-06-08 17:42:11 +02:00
Peter Kuemmel
1d40729eaa
Ninja: add dependency tracking for msvc with cldeps
2012-06-07 23:34:48 +02:00
Peter Kuemmel
e3a1f727f7
Ninja: find mingw's resource compiler
2012-06-06 13:02:30 +02:00
Peter Kuemmel
c60557e973
Ninja: don't break because of empty commands
2012-06-06 01:36:34 +02:00
Peter Kuemmel
128fe5d504
Ninja: also create rspfile rules
2012-06-05 23:40:42 +02:00
Peter Kuemmel
0266c9bd19
Ninja: check for valid pointer
2012-06-05 23:29:29 +02:00
Peter Kuemmel
5aab7f90f1
Ninja: 30000 is too long for windows cmd
2012-06-05 23:21:01 +02:00
Peter Kuemmel
ad4a768d59
Ninja: add response file support on Windows
...
When MinGW is used slashes are used for dependencies
because ar.exe can't read rsp files with backslashes.
Many thx to Claus Klein for starting working on this.
2012-06-05 22:39:42 +02:00
David Cole
7687d557dc
Merge topic 'Ninja-EXPORT_COMPILE_COMMANDS'
...
3545645
Exclude the CompileCommandOutput test on WIN32.
fbaddf4
Escape the source file to be compiled if required.
db839be
Make the CMAKE_EXPORT_COMPILE_COMMANDS option work with Ninja.
8778357
Add newline to the output.
2c04bc0
Move the EscapeJSON method to a sharable location.
2012-06-05 14:21:36 -04:00
David Cole
80abbeb3f2
Merge topic 'vcexpress-no-folder'
...
a0700ba
VC Express doesn't support folders, ignore USE_FOLDER property
2012-06-05 14:21:28 -04:00
Kitware Robot
55cadb6806
CMake Nightly Date Stamp
2012-06-05 00:01:05 -04:00
Stephen Kelly
fbaddf4e40
Escape the source file to be compiled if required.
...
Whitespaces in paths can otherwise cause invalid command lines to
be generated.
2012-06-04 23:42:37 +02:00
Stephen Kelly
db839bec7d
Make the CMAKE_EXPORT_COMPILE_COMMANDS option work with Ninja.
2012-06-04 23:42:37 +02:00