diff options
author | Brad King <brad.king@kitware.com> | 2009-07-31 13:19:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-31 13:19:19 (GMT) |
commit | a48f29c904a0b2ae409b511e4b4436a85da68292 (patch) | |
tree | 924a4623fe9c803c222ff3eba7293824d1bb14d5 /Templates/UtilityHeader.dsptemplate | |
parent | 36bb624907cd2eec30c8bbfe4787e29685b80947 (diff) | |
download | CMake-a48f29c904a0b2ae409b511e4b4436a85da68292.zip CMake-a48f29c904a0b2ae409b511e4b4436a85da68292.tar.gz CMake-a48f29c904a0b2ae409b511e4b4436a85da68292.tar.bz2 |
Set current directory variables in CTest scripts
The commit "Fix get_filename_component ABSOLUTE mode" broke the code
get_filename_component(cwd . ABSOLUTE)
because CTest scripts did not make cmMakefile::GetCurrentDirectory()
available. This commit fixes the problem by setting the proper
information on CTest script instances of cmMakefile.
This also makes CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR
available to CTest scripts. They are set to the working directory at
script startup.
Diffstat (limited to 'Templates/UtilityHeader.dsptemplate')
0 files changed, 0 insertions, 0 deletions