[CMake] vcproj .user files

Surya Kiran Gullapalli suryakiran.gullapalli at gmail.com
Thu Feb 18 05:59:05 EST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100218/b99357c6/attachment-0001.htm>


More information about the CMake mailing list