Hi,
I am trying to use CMake to install resources with the
set_source_files_properties and then specifying the
MACOSX_PACKAGE_LOCATION. This works fine for files like PNGs and so
on, but how do I do this for a dynamic library built with CMake.
Simply put, I am trying to do something
Hi,
You need to add the resources to the executable and set the
MACOSX_PACKAGE_LOCATION property for them. I think that this will only
work with CMake 2.6.
I do something like this, nicked the lines from my project:
file(GLOB ORBIT_RES_TEX textures/*.tga)
Hi,
I have a project structured as follows:
xyz/
CMakeLists.txt
src/
CMakeLists.txt
rsrc/
CMakeLists.txt
include/
CMakeLists.txt
Now, if I in the rsrc directory locate a bunch of files and set these
as variables, they will not be seen by the other CMakeLists, is there
any way to
Hi,
I asked about this before, but i think it was lost in all the other talk of
cmake 2.6 at that moment.
How do I ensure that resources added to the resource list of an application
is installed in the MacOS X application bundle?
Will it be done during the normal build (i.e. without typing make
and the file is added
as a source, it should be copied into the .app bundle during a
make (or a build with Xcode).
HTH,
David
On Mon, Apr 7, 2008 at 12:16 PM, Mattias Holm
[EMAIL PROTECTED] wrote:
Hi,
I asked about this before, but i think it was lost in all the other
talk of cmake 2.6
Hi,
I am trying to get a grip on how to get resources installed in an
application bundle on OS X. What do i have to do except the following:
set_target_properties(foo
PROPERTIES
RESOURCE ${res_list})
I
Thanks,
This works sorta. The problem is that when adding the CMakeList.txt
files, these are inserted into the compile sources phase. Thus, one
get a lot of warnings about Xcode not being able to build the
CMakeList.txt file, the same happens for other files not recognised
by Xcode.
Hi,
I am trying to generate an Xcode project with CMake. However, there
seem to be a couple of issues with this. Firstly, the CMakeLists.txt
files arn't added to the project, so updating the project files is
kind of a pain.
Secondly, in the project I am working with I have several .l