Hi, 

I'm trying out the autouic feature in Visual Studio, and I noticed that if I 
change a .ui file, the corresponding ui_*.h file is not regenerated when I hit 
the build button. 
I don't see this problem under Makefiles. 

For makefiles, it appears a phony target is used and "cmake -E cmake_autogen" 
is always run each time make is called. 
For visual studio, the build rule to execute "cmake -E cmake_autogen" has a 
list of dependencies. This list of dependencies includes all the files listed 
in a .qrc file, but none of the .ui files. If I right click on the file 
representing this build rule, and click "compile", it then runs "cmake -E 
cmake_autogen" and the ui_*.h files are incrementally updated (only those for 
which corresponding .ui files were changed). 

This appears to be a bug. The setup is different between the two, and perhaps 
the build rule under visual studio should list all the dependent .ui files. 

Is anyone else seeing this behavior? 

Thanks, 
Clint 
-- 

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