summaryrefslogtreecommitdiffstats
path: root/Source/cmcldeps.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmSystemTools: Teach RunSingleCommand to separate stdout and stderrBrad King2015-04-201-2/+3
| | | | | | | Extend the RunSingleCommand signature to capture stdout and stderr separately. Allow both to be captured to the same std::string to preserve existing behavior. Update all call sites to do this so that this refactoring does not introduce functional changes.
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-1/+1
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-1/+1
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* Windows: Use wide-character system APIsClinton Stimpson2013-12-091-3/+4
| | | | | Make CMake compile with -DUNICODE. Make it possible for the 8 bit encoding to eventually be UTF-8 instead ANSI.
* Ninja: Make cmcldeps depfile output more consistent with 'ninja -t msvc'Reid Kleckner2013-07-261-9/+24
| | | | | | | Ninja relies on the generator to produce paths that match up with the paths used in the build.ninja file, which are spelled with backslashes. Therefore, cmcldeps should canonicalize depfile paths to use backslashes and relativize paths to the build directory.
* Fix spelling and typos (product names)Andreas Mohr2013-05-071-1/+1
| | | | API, Borland, MinGW, UNIX, Mac OS X.
* Resolve warnings about shadowing parameters and local variables.Stephen Kelly2012-11-131-0/+4
|
* Ninja: don't suppress warning about compiler optionsPeter Kümmel2012-09-041-1/+3
| | | | | | Warnings about invalid compiler options are printed first by cl.exe, this line was suppressed when the source file name didn't contain back slashes.
* Ninja: readd quotes to src file path before patching itPeter Kümmel2012-07-161-0/+3
|
* Ninja: also stop when .rc's .d file couldn't be generatedPeter Kümmel2012-07-151-3/+6
| | | | | | prevents silent disappearing of .d files for resource files. cmcldeps changes directory for cl call, so relativ include paths do not work.
* Ninja: print error message when command failedPeter Kuemmel2012-06-281-17/+8
|
* Remove process execution code from cmcldeps and have it use cmake code.Bill Hoffman2012-06-271-482/+34
| | | | | This simplifies the code in cmcldeps and avoids having yet another set of process execution code.
* Ninja: disable cldeps for bcc32, it's too old, and ninja would also not buildPeter Kuemmel2012-06-181-6/+1
|
* Ninja: try work around for bcc32 bugPeter Kuemmel2012-06-171-1/+7
|
* Ninja: build server fixesPeter Kuemmel2012-06-171-3/+3
| | | | | Why does the other compiler give no error? Seems there is somewhere a "using".
* Ninja: maybe this fixes the bcc32 buildPeter Kuemmel2012-06-161-0/+1
|
* Ninja: msvc6 for-scopingPeter Kuemmel2012-06-161-7/+7
|
* Ninja: build with old msvc versionsPeter Kuemmel2012-06-161-20/+31
|
* Ninja: build server fixesPeter Kuemmel2012-06-161-52/+51
| | | | | - disable cldeps on cygwin - don't "use" namespace std
* Ninja: some bytes of the rc files couldn't be piped correctlyPeter Kuemmel2012-06-151-9/+18
| | | | Write to a file again but generate it in the object dir
* Ninja: don't remove space between command and parametersPeter Kuemmel2012-06-151-1/+1
|
* Ninja: build cmcldeps with mingwPeter Kuemmel2012-06-151-0/+2
|
* Ninja: but cl supports /nologo ...Peter Kuemmel2012-06-151-3/+4
|
* Ninja: no /nologo option in old rc.exePeter Kuemmel2012-06-151-3/+2
|
* Ninja: don't pollute build dir with preprocessed rc filesPeter Kuemmel2012-06-151-1/+1
|
* Ninja: ninja now also could read parentheses in .d filesPeter Kuemmel2012-06-141-8/+4
|
* Ninja: cmcldepsPeter Kuemmel2012-06-141-38/+39
| | | | | - don't depend on argument order - update help
* Ninja: suppress startup logosPeter Kuemmel2012-06-141-3/+5
| | | | | Having Ninja's smart printing we are more allergic on unneeded tool output.
* Ninja: onyl use pre processor for rc file parsingPeter Kuemmel2012-06-131-16/+12
|
* Ninja: extract dependencies for .rc files with msvc toolsPeter Kuemmel2012-06-131-20/+74
| | | | | | | | 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.
* Ninja: ninja can't read dep. pathes with parenthesesPeter Kuemmel2012-06-121-6/+3
|
* Ninja: use slahes in .d filesPeter Kuemmel2012-06-101-1/+1
|
* Ninja: fix line lengthPeter Kuemmel2012-06-101-7/+19
|
* Ninja: allow spaces in cldeps's .d filePeter Kuemmel2012-06-101-7/+14
|
* Ninja: don't use cmcldeps for try_compilePeter Kuemmel2012-06-091-4/+8
|
* Ninja: add wrapper for cl to extract dependenciesPeter Kuemmel2012-06-081-0/+644
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?