[CMake] how to get cmake and custom qt widget to work?

eial at cs.bgu.ac.il eial at cs.bgu.ac.il
Fri Oct 15 07:56:24 EDT 2010


On Wed 13 Oct 22:29 2010 Alexander Neundorf wrote:
> On Tuesday 05 October 2010, eial at cs.bgu.ac.il wrote:
> > the project's one?
> > I've copied the hpp and cpp files into one of my src dirs.
> > still not compiling
> 
> Don't use file(GLOB ...) to collect your source files.
> Use explicit set(GUI_SRCS a.cpp b.cpp ...) 
> calls. This avoids problems like wrong files getting picked up or new files 
> not getting picked up.
> 
> 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
> 

ok, so if I use explicit file deceleration, with problem will be solved?





More information about the CMake mailing list