vs ide PATH issue solved (no .bat files needed)

Bill Hoffman bill.hoffman at kitware.com
Tue Apr 25 15:41:23 CEST 2006


I came up with a solution for the VS IDE PATH problem.  
CMake will look for the environment variable CMAKE_MSVCIDE_RUN_PATH.
If it is set, then it will add its value to the PATH for each
custom command in the project.   So, you can use this environment
variable to put stuff in the PATH for the VS IDE from the
shell that you run cmake in.  So, for building KDE with vs IDE,
you will have two choices:

1. change the environment for vs IDE from the IDE menus and
add the path to perl, and the path to the qt dlls.

2. set CMAKE_MSVCIDE_RUN_PATH=c:\path\to\perl;c:\path\to\qt\bin

Then run cmake.

I have checked this into CVS CMake, and it will be in CMake 2.4.1.
I have tested, and it seems to work.

-Bill








More information about the Kde-buildsystem mailing list