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="pa...@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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to