On Monday 29 April 2013, Glenn Coombs wrote: > I added these lines: > > set_directory_properties( > PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES > "${CMAKE_CURRENT_BINARY_DIR}/abc.txt" > ) > > # check the location where abc.txt is supposed to be deleted from > message("CURRENT_BINARY_DIR: ${CMAKE_CURRENT_BINARY_DIR}") > > to the end of my CMakeLists.txt and then created abc.txt in the cmake build > directory. I can confirm that the abc.txt file was not deleted by a clean > solution. I tried this with Visual Studio 2012 and Visual Studio 2008 > (both installs are the Express editions) and the results were identical.
I don't have Windows here so this is kind of hard for me... Did you do a "complete" clean or just a clean of some part of the whole project ? Alex -- 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