[CMake] Segfault with MacOS bundles
Joshua Jensen
jjensen at workspacewhiz.com
Tue May 22 16:43:40 EDT 2007
With latest CVS (in an attempt to see if the problem was fixed), I was
attempting the following:
SET_SOURCE_FILES_PROPERTIES(Somefile.dat PROPERTIES
MACOSX_PACKAGE_LOCATION Resources)
This works great and does exactly what I expected it would do (assuming
it doesn't copy each and every time I build... haven't verified that yet).
Unfortunately, having Somefile.dat in the SRCS list causes Xcode to spit
out the following:
warning: no rule to process file '/Users/.../somefile.dat' of
type file for architecture i386
My common way of getting rid of that warning is doing this:
SET_SOURCE_FILES_PROPERTIES(Somefile.dat HEADER_FILE_ONLY true)
This usually works, but when combined with the MACOSX_PACKAGE_LOCATION
property above, ccmake generates a segfault on configure.
Is there another way of getting rid of the 'no rule' warning?
Thanks.
Josh
More information about the CMake
mailing list