https://github.com/Kitware/CMake
Revision 8f32d816297ac0a73e51a95703b4eeac6a5b8377 authored by Jonathan Bohren on 17 December 2012, 18:05:07 UTC, committed by Jonathan Bohren on 07 January 2013, 18:48:38 UTC
reindent for clarity

Adding internal API to get environment variables for custom commands

Adding test for new custom command env setting

Updating other references to internal API changes

adding env_test program

updating env test to write out a product

polishing environment variable test case

Adding placeholder for env var list in cmCustomCommand

adding implementations for env variable support

changing env variables from vector of pair to map

adding support for environment variables in custom commands in UNIX Makefiles

fixing indentation

fixing indentation

fixing indentation

changing test variable name to be clearer that it's an example

fixing indentation

Switching over to using CMake -E instead of bash-like environment variable setting

ENV vars: improve source consistency (variable naming, etc.).

ENV vars: improve source consistency (variable naming, etc.).

Changing custom command environment variable argument from ENV to ENVIRONMENT

ENV vars: Document add_custom_command() ENVIRONMENT option.

ENV vars: fix cross-platform (MSVS) incompatibilities.

- std::fstream does not support std::string stream input
- need to obey additionally required CMAKE_CFG_INTDIR, too
1 parent 7c1be72
History
Tip revision: 8f32d816297ac0a73e51a95703b4eeac6a5b8377 authored by Jonathan Bohren on 17 December 2012, 18:05:07 UTC
Adding env vars to custom commands in UNIX Makefiles
Tip revision: 8f32d81
File Mode Size
Docs
Example
Modules
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 569 bytes
.hooks-config.bash -rw-r--r-- 866 bytes
CMakeCPack.cmake -rw-r--r-- 5.3 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 3.4 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 24.7 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CTestConfig.cmake -rw-r--r-- 1.0 KB
CTestCustom.cmake.in -rw-r--r-- 3.3 KB
CTestCustom.ctest.in -rw-r--r-- 145 bytes
ChangeLog.manual -rw-r--r-- 186.1 KB
ChangeLog.txt -rw-r--r-- 2.5 MB
CompileFlags.cmake -rw-r--r-- 2.5 KB
Copyright.txt -rw-r--r-- 2.6 KB
DartConfig.cmake -rw-r--r-- 809 bytes
DartLocal.conf.in -rw-r--r-- 4.0 KB
Readme.txt -rw-r--r-- 1.9 KB
bootstrap -rwxr-xr-x 52.1 KB
cmake_uninstall.cmake.in -rw-r--r-- 796 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

Readme.txt

back to top