Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2015-02-21 Thread Stephen Kelly
René Tschirley wrote: 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. Am I forgetting something obvious? Is this an unfixed CMake bug? Yes, it is:

[CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2015-02-12 Thread René Tschirley
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.

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-05-07 Thread Glenn Coombs
I won't bother just yet then. Let me know if I can be of any help in testing your fix. BTW, is your fix likely to make it into the pending 2.8.11 release ? -- Glenn On 5 May 2013 19:33, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Sunday 05 May 2013, Glenn Coombs wrote: Alex,

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-05-07 Thread Alexander Neundorf
On Tuesday 07 May 2013, Glenn Coombs wrote: I won't bother just yet then. Let me know if I can be of any help in testing your fix. BTW, is your fix likely to make it into the pending 2.8.11 release ? Don't know, probably it's too late. Alex -- Powered by www.kitware.com Visit other

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-05-05 Thread Glenn Coombs
Alex, Would you like me to file a bug report on this ? -- Glenn On 1 May 2013 08:33, Glenn Coombs glenn.coo...@gmail.com wrote: I select Clean Solution from the Build menu which is a complete clean. The output looks like this: 1-- Skipped Clean: Project: INSTALL, Configuration: Debug

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-05-05 Thread Alexander Neundorf
On Sunday 05 May 2013, Glenn Coombs wrote: Alex, Would you like me to file a bug report on this ? you can do so, but I'm working on a fix already anyway. Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-05-01 Thread Glenn Coombs
I select Clean Solution from the Build menu which is a complete clean. The output looks like this: 1-- Skipped Clean: Project: INSTALL, Configuration: Debug Win32 -- 1Project not selected to build for this solution configuration 2-- Clean started: Project: ALL_BUILD, Configuration:

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-29 Thread Glenn Coombs
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

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-29 Thread Alexander Neundorf
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:

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-28 Thread Glenn Coombs
No, cleaning the project didn't remove that file. -- Glenn On 26 April 2013 17:28, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Friday 26 April 2013, Glenn Coombs wrote: No, the yuv_player_automoc.cpp file is not removed on a clean (nor are the other moc_*.cpp files). Having just

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-28 Thread Alexander Neundorf
On Sunday 28 April 2013, Glenn Coombs wrote: No, cleaning the project didn't remove that file. Can you manually set the ADDITIONAL_MAKE_CLEAN_FILES directory property to some file and check whether this file is deleted when you clean ? Something like set_directory_properties(PROPERTIES

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-26 Thread Glenn Coombs
No, the yuv_player_automoc.cpp file is not removed on a clean (nor are the other moc_*.cpp files). Having just modified ctrlBasic.cpp and ctrlBasic.h: $ ls -ltr moc* ../ctrlMenu/ctrlBasic.* -rwxr-xr-x+ 1 glenn.coombs Domain Users 4366 Apr 25 15:04 moc_ctrlBasic.cpp* -rwxr-xr-x+ 1 glenn.coombs

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-26 Thread Alexander Neundorf
On Friday 26 April 2013, Glenn Coombs wrote: No, the yuv_player_automoc.cpp file is not removed on a clean (nor are the other moc_*.cpp files). Having just modified ctrlBasic.cpp and ctrlBasic.h: $ ls -ltr moc* ../ctrlMenu/ctrlBasic.* -rwxr-xr-x+ 1 glenn.coombs Domain Users 4366 Apr 25

[CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-25 Thread Glenn Coombs
Hi, I have a Qt4 program that I'm working on and ran into an issue yesterday with the automoc cpp files. I had added a new slot and connected a comboxbox currentIndexChanged signal to it but when I ran the program I could see messages on stdout complaining that my slot didn't exist. I tracked

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-25 Thread Alexander Neundorf
On Thursday 25 April 2013, Glenn Coombs wrote: Hi, I have a Qt4 program that I'm working on and ran into an issue yesterday with the automoc cpp files. I had added a new slot and connected a comboxbox currentIndexChanged signal to it but when I ran the program I could see messages on