[CMake] generating VC projects

2008-08-01 Thread Hari Sundar
Hi, I have Cmake set up to generate project files for VC6. This works fine. The project can only be compiled with the VC6 compiler because of legacy code. What I am interested in is to know if it is possible to generate a VC 7,8,9 project using CMake, which will use the VC6 compiler ? Basically I

[CMake] Repeating sub source_group ?

2008-06-13 Thread Hari Sundar
Hi, I am using SOURCE_GROUP to organize my Visual Studio project. I add source groups like source_group("src\\utils" FILES ${UTILS_SRC}) source_group("hdr\\utils" FILES ${UTILS_HDR}) This produces a code tree like, - src/utils - hdr/utills No. 1 How can I avoid the No. 1 ? I simply want src

[CMake] Post-Build Step on Windows

2008-06-05 Thread Hari Sundar
Hi, I am trying to write a Post-Build step custom rule for Windows. It basically involves copying the project shared library to a given location. When setup using INSTALL this works fine. INSTALL(FILES config DESTINATION ${INSTALL_DIR}/plugins/${PROJECT_NAME}) INSTALL(TARGETS ${PROJECT_NAME} RUN