[CMake] Static/Shared library targets becomes Static/Shared configurations under VS9

2009-07-04 Thread Aurélien Vallée
Hello, I have some questions regarding CMake generator for VS9. My library can be built as shared or static. Currently, this is handled using two different targets in CMakeLists.txt. The problem is that under Visual Studio 2008, those two targets are two projects ! So in the solution explorer I

[CMake] Using cmake -E copy_directory with subversion

2008-10-06 Thread Aurélien Vallée
Hello, I have come across a problem using CMake with SVN. I have a src/shaders directory containing files with extension .glsl. I need to create a rule to copy these files in my build directory, since my program will need them at runtime. For now, i have: ADD_CUSTOM_TARGET( install_shaders ALL