summaryrefslogtreecommitdiffstats
path: root/Source/cmExecuteProcessCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Replace foo.size() pattern with !foo.empty().Stephen Kelly2015-01-181-2/+2
|
* Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-1/+1
| | | | All compilers hosting CMake support the std class.
* execute_process: Send stderr through cmSystemTools::StderrBrad King2014-05-151-5/+5
| | | | | Give cmake-gui and ctest --build-and-test a chance to capture the output instead of sending it to the real stderr.
* Remove some c_str() calls.Stephen Kelly2014-03-111-8/+8
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-4/+4
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Add parentheses around '&&' between '||' for gccBrad King2009-09-111-2/+2
| | | | | | | The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order.
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+1
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* BUG: Work around bug when calling insert on an empty vector of char on ↵Brad King2007-10-151-2/+22
| | | | midworld. Should eliminate the sporadic failure of EXECUTE_PROCESS during the SimpleInstall-Stage2 test. (david.cole from Brad's checkout on midworld)
* ENH: Added OUTPUT_STRIP_TRAILING_WHITESPACE and ↵Brad King2006-10-161-4/+46
| | | | ERROR_STRIP_TRAILING_WHITESPACE options to EXECUTE_PROCESS command. These allow it to behave more like the old EXEC_PROGRAM command that it is supposed to replace.
* STYLE: fix line lengthKen Martin2006-05-101-5/+10
|
* ENH: add support for win64 for visual studio 2005 ide and nmake, also fix ↵Bill Hoffman2006-03-301-1/+1
| | | | warnings produced by building for win64
* ENH: do not dereference empty stl vectorsBill Hoffman2006-03-221-2/+2
|
* ENH: Allow blocking of writing into the source treeAndy Cedilnik2006-03-221-0/+9
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-6/+6
|
* ENH: Remove extra windows newline characters from process output. ↵Brad King2006-02-101-11/+27
| | | | Centralized text fix processing.
* ENH: Adding new EXECUTE_PROCESS command that interfaces to KWSys Process ↵Brad King2006-02-031-0/+335
Execution.