Really? How could it? Suppose I only have 1 qrc file, named foo.qrc:
wouldn't these two lines be equivalent?
FILE (GLOB my_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "res/*.qrc" )
SET( my_RESOURCES "res/foo.qrc")
???
TIA
G
On Tue, Dec 15, 2009 at 7:15 PM, John Drescher <[email protected]> wrote:
>> The CMake script in question looks more or less like:
>>
>> FILE (GLOB my_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "res/*.qrc" )
>> QT4_ADD_RESOURCES( my_RESOURCES_SOURCES ${my_RESOURCES} )
>>
>> ...
>
> It's always best to not do any file globbing and add each file by
> hand. I believe this is causing the problem.
>
> John
>
_______________________________________________
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