[CMake] Re: [Insight-users] Qmake to CMake migration - IMAGES
Clinton Stimpson
clinton at elemtech.com
Thu Jan 20 12:19:27 EST 2005
To make an image collection, we do something like the following.
SET(IMG_SRCS ${PRJ_SOURCE_DIR}/images/pic1.png
${PRJ_SOURCE_DIR}/images/pic2.png ${PRJ_SOURCE_DIR}/images/pic3.png )
ADD_CUSTOM_COMMAND(OUTPUT ${PRJ_BINARY_DIR}/image_collection.h COMMAND
${QT_UIC_EXECUTABLE} ARGS -o ${PRJ_BINARY_DIR}/image_collection.h -embed
prj ${IMG_SRCS} DEPENDS ${IMG_SRCS}) Then image_collection.h is included
in our source code. There may be some extra things on the code side, but
this is what we have in our CMake file. Clint At 09:24 AM 1/20/2005,
Pavan Podila wrote:
>>Hi,
>> I am in the process of migrating our build file from Qmake to CMake. I dont know how to incorporate the "IMAGES = " declaration in Qmake into CMake. Please provide some suggestions.
>>
>>Thanks,
>>Pavan
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at itk.org
>>http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the CMake
mailing list