Hi,

I have some curious behaviour here. I generate MSVC project files, then run
cmake once more and a pre-processor define is duplicated and appended to
the list in the `<PreprocessorDefinitiion>` tag in ".vcproj"
Run cmake again without changing the CMake files and another is appended.

First generation...


<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;DEBUG......;CMAKE_INTDIR=\"Debug\";%(PreprocessorDefinitions)</PreprocessorDefinitions>

Second generation...

    <PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;DEBUG;*DEBUG*
......;CMAKE_INTDIR=\"Debug\";%(PreprocessorDefinitions)</PreprocessorDefinitions>

Unfortunately I can't share the `CMakeLists.txt` files with you but hoped
that maybe someone was aware of this issue or if it's a common user mistake.

Of course this causes MSVC to rebuild the entire project even if that
shouldn't be necessary.
Any ideas?

kind regards,
James
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to