Surya Kiran Gullapalli
2010-02-18 10:59:05 UTC
Hello all,
I'm facing a weird problem with CONFIGURE_FILE on windows with CMake-2.8.1
(RC3)
I've followed the steps outlined
here<http://stackoverflow.com/questions/1005901/how-to-set-path-environment-variable-using-cmake-and-visual-studio-to-run-test/1151593>
to
set PATH environment variable for an executable.
The problem is, when I click configure, .user file is created fine with out
any issues. But when i click "Generate", the created file is overwritten by
the one generated by VS.
Lets say I've this line in The template file *
Environment="PATH=@PATH_ENV_VARIABLE@",*
when i click *Configure*, the PATH_ENV_VARIABLE is properly substituted. But
once I *Generate * the solution, the above said line in .user file becomes *
Environment=""*, which is default.
What is going wrong here ?
Thanks,
Surya
I'm facing a weird problem with CONFIGURE_FILE on windows with CMake-2.8.1
(RC3)
I've followed the steps outlined
here<http://stackoverflow.com/questions/1005901/how-to-set-path-environment-variable-using-cmake-and-visual-studio-to-run-test/1151593>
to
set PATH environment variable for an executable.
The problem is, when I click configure, .user file is created fine with out
any issues. But when i click "Generate", the created file is overwritten by
the one generated by VS.
Lets say I've this line in The template file *
Environment="PATH=@PATH_ENV_VARIABLE@",*
when i click *Configure*, the PATH_ENV_VARIABLE is properly substituted. But
once I *Generate * the solution, the above said line in .user file becomes *
Environment=""*, which is default.
What is going wrong here ?
Thanks,
Surya