Hi all,

I have the problem that my automatically generated Qt files are not cleaned up, 
similar to the problem described in 
http://www.cmake.org/pipermail/cmake/2013-April/054555.html. Simplified the 
problem and verified if the set_directory_properties trick works. It does not 
work for me.

Used software: Windows7 SP1, CMake 3.1.2, Ninja 1.5.3.

Makefiles configuration is done by

        cmake -G "Eclipse CDT4 - Ninja" ../source

in my build folder. Build is usually started using 'ninja' and a clean is 
triggered by 'ninja clean'.

My top level CMakeLists.txt contains for testing purposes

        set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES 
"foo.txt")
        set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES 
"${CMAKE_CURRENT_BINARY_DIR}/foo.txt")
        MESSAGE(STATUS "CMAKE_CURRENT_BINARY_DIR = ${CMAKE_CURRENT_BINARY_DIR}")

and when creating that file (manually, in my CMAKE_CURRENT_BINARY_DIR), it is 
still not cleaned up on 'ninja clean'.

Am I forgetting something obvious? Is this an unfixed CMake bug?


Cheers,
Rene

-- 

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