Peter Kuemmel
5ead31da63
Ninja: try work around for bcc32 bug
2012-06-17 10:17:19 +02:00
Peter Kuemmel
1333b576b5
Ninja: build server fixes
...
Why does the other compiler give no error?
Seems there is somewhere a "using".
2012-06-17 10:09:10 +02:00
Peter Kuemmel
9081e3a135
remove warning about unused parameter
2012-06-16 12:58:06 +02:00
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
David Cole
e2ffa14b99
Revert "Millenium update: 79 * (16/9)/(4/3) = 105"
...
This reverts commit 7b91c3dfac
.
(Nice try, but we're going to keep our 79 character line length
limit unless there is discussion first, and everybody agrees
on a new higher value...)
2012-06-13 17:04:02 -04: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
7b91c3dfac
Millenium update: 79 * (16/9)/(4/3) = 105
2012-06-12 00:51:27 +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
7553a3799a
Ninja: fix ModuleNoticies test
2012-06-09 12:38:12 +02:00
Peter Kuemmel
8b27a94f28
Ninja: don't set cmcldeps vars to empty string when they are not defined
2012-06-09 12:10:52 +02:00
Peter Kuemmel
64c5752d93
Ninja: add copyright and description
2012-06-09 10:43:23 +02:00
Peter Kuemmel
0412e5c933
Ninja: assume cmcldeps in the same dir as cmake
2012-06-09 09:06:01 +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