[Qt-creator] Howto make qt-creator list the header files in the project tree for cmake in CMakelists.txt
Daniel Teske
daniel.teske at nokia.com
Tue Nov 2 11:23:24 CET 2010
> Now, if I do
>
> file(GLOB HEADERS "include/*.hpp")
>
>
> add_executable( ${BIN} test/main.cpp ${HEADERS} )
> It works but it does not feel like the optimal solution.
>
>
> Is there a better way of doing this?
Not really. Creator's cmake support relies on cmake knowing the headers.
daniel
More information about the Qt-creator-old
mailing list