Fwd: Re: [CMake] Re: [Insight-users] Qmake to CMake migration - IMAGES
William A. Hoffman
billlist at nycap.rr.com
Thu Jan 20 12:32:33 EST 2005
This discussion has moved to the cmake mailing list.
Here is a posting, I won't forward any more of the discussion
to insight-users.
-Bill
>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
>>
>
>_______________________________________________
>CMake mailing list
>CMake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
More information about the Insight-users
mailing list