k, add files to "[appname]"...) in Xcode, it
works fine, but i don't know the corresponding CMake command.
Kind Regards,
Daniel Dekkers
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com
ojectName_2'
...
+ 'ProjectName_n'
Is this common Xcode/CMake behavior or am I doing something wrong?
Kind Regards,
Daniel Dekkers
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/op
COMMENT "Compiling ${RT_APP_ROOT}/rsrc/apple/ios/${xib}.xib")
ENDFOREACH()
But i don't really trust the "destination" of the compilation step, especially
for the simulator.
Has anyone got this working?
Kind Regards,
Daniel Dekkers
__
running out of ideas how to fix this.
Any suggestions?
Or, more general... is there anyone else who is walking, or has walked, this
CMake/iOS path?
Kind Regards,
Daniel Dekkers
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
al/iphone-${SDK_VER}/")
SET (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
SET (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
I just include it at the moment. So i'm thinking to remove the simulator/device
distinction
e the next step would be to add an icon.png?
What are your plans with the iOSNavApp test?
Kind Regards,
Daniel Dekkers
On Sep 21, 2011, at 7:30 PM, David Cole wrote:
> On Wed, Sep 21, 2011 at 12:41 PM, Daniel Dekkers
> wrote:
>> Hi David,
>>
>>> I have tested it
ted in a top
level Xcode directory "Recources". And not in the "Resources" directory of the
individual apps.
Does anyone know how i could achieve that?
Kind Regards,
Daniel Dekkers
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitwar
even know
if that is possible with Xcode.
Thanks,
Daniel Dekkers
On Sep 30, 2011, at 3:22 PM, g...@novadsp.com wrote:
> My CMake rules to convert a .XIB file to a .NIB file in the application
> bundle work for makefile builds.
>
> However I cannot get the same result when using the
Correction: not the Info.plist. That is treated differently because CMake
generates its own for the project.
You can set a "template" Info.plist though where ${VARIABLE} entries are
subsituted with (known) CMake variables.
On Sep 30, 2011, at 4:14 PM, Daniel Dekkers wrote:
es
unchanged. Xcode uses the same notation for values that are substituted later
on.
Also see
https://lists.secondlife.com/pipermail/sldev/2008-September/011839.html
Thanks,
Daniel Dekkers
On Oct 2, 2011, at 2:51 PM, g...@novadsp.com wrote:
> Hi Daniel, can you clarify this a bit? Do y
Hi,
Let me know how it works out for you...
We will be writing an article about this subject (platform independence, OSX,
iOS, Windows, mainly focussed on OpenGL/ES1/ES2) in the fall,
so we need all the feedback we can get ;-)
Thanks,
Daniel Dekkers
On Oct 2, 2011, at 6:27 PM, g...@novadsp.com
icture.
Does this list accepts JPG/PNG attachments? Is this OK?
Thx++
Jerry
On 03/10/2011 15:49, Daniel Dekkers wrote:
>> set_target_properties(${this_target} PROPERTIES RESOURCE
>> ${RESOURCE_FILES})< error here. wrong number of args
>
> Maybe try "${RESOURCE_FILES
ld be called from the CMakeLists.txt of their own
application.
4) Something different ;-)
Thanks,
Daniel Dekkers
--
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:
On Oct 4, 2011, at 4:24 PM, Clifford Yapp wrote:
> On Tue, Oct 4, 2011 at 7:20 AM, Daniel Dekkers wrote:
> Hi,
>
> Would really appreciate your advice on this.
>
> We are planning to use and maybe distribute a library (let's call it OurLib)
> that depends on thi
hat individual project. But no idea how
to do that.
Kind Regards,
Daniel Dekkers
--
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/
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS
${IOS_CODE_SIGN_ENTITLEMENTS_DISTRIBUTION} )
SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES
LINK_FLAG_RELWITHDEBINFO XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS
${IOS_CODE_SIGN_ENTITLEMENTS_DEBUG} )
But this syntax is not recognized.
Kind Regards,
Daniel Dekkers
ementsAdHoc.plist
Anyone knows what happening here?
Daniel
On Oct 13, 2011, at 2:52 PM, Michael Wild wrote:
> On 10/13/2011 02:26 PM, Daniel Dekkers wrote:
>> Hi,
>>
>> How can I separate settings for different configurations in Xcode.
>>
>> As an exampl
section "Debug". But it does use [sdk=*]. To avoid
further subdivision of the Debug setting into different SDKs?
On Oct 13, 2011, at 3:23 PM, Daniel Dekkers wrote:
> Thanks Michael,
>
> Just found it out myself as well (and yes, XCODE_ATTRIBUTE was the google
Hi,
I don't think the [variant=###] method works to separate
SET_TARGET_PROPERTIES() to different configurations in Xcode (4.0.2).
If I try this (simple example)...
SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES
XCODE_ATTRIBUTE_COMPRESS_PNG_FILES[variant=Debug] YES )
SET_TARGET_PROPERTIES( ${AP
RTIES
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY[variant=Release][sdk=*]
${RT_CODE_SIGN_IDENTITY_DISTRIBUTION} )
... it always results in both settings being added to both configurations
(under the key "Any sdk" that is added twice per configuration).
I'm using CMake 2.8-6.
Any suggestions?
Thanks,
Daniel Dekkers
Shouldn't it be SET_TARGET_PROPERTIES( ${TARGET} PROPERTIES
XCODE_ATTRIBUTE_ENABLE_OPENMP_SUPPORT YES )?
On Oct 19, 2011, at 6:15 PM, Kieran Parsons wrote:
> I am having difficulty with enabling OpenMP on Xcode 4.0.2 (cmake 2.8.6). I
> need to manually set the "Enable OpenMP support" build opti
Hi,
I was wondering, if I generate for Visual Studio, and do PROjECT(...) calls in
nested CMakeLists.txt files, I get a top level solution with separate projects
in it (exes and libs).
But the XCode generator doesn't create a top level workspace (with separate
projects in it) but a single proje
Yes, me -> http://public.kitware.com/Bug/view.php?id=12532
Don't think as a reporter you can even edit your own bug entries after
committing them. Or I'm missing a button somewhere.
Op 21 okt. 2011 om 20:20 heeft David Cole het volgende
geschreven:
> As an esteemed colleague has pointed out,
hi there,
how do I test if a string is empty ("") or not ?
IF( ${test} STREQUAL "" )
gives the wrong number of arguments if ${test} is ""
thanks,
J
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep message
Great, thanks.
On Oct 25, 2011, at 11:17 AM, Eric Noulard wrote:
> 2011/10/25 Daniel Dekkers :
>> hi there,
>>
>> how do I test if a string is empty ("") or not ?
>> IF( ${test} STREQUAL "" )
>> gives the wrong number of arguments if ${tes
find_package() searches for a package, and sets variables. Typically variables
like...
_FOUND # package found or not
_INCLUDE_DIR # path to the libraries include directory
_LIBRARY # name of the library
You still have to link in the library yourself:
target_link_libraries(${TARGET} ${_LIBRARY})
27;t be a problem,
but that doesn't give a nice distribution package.
Any hints on a proper way to do this?
Kind Regards,
Daniel Dekkers
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep mess
It's standard practice if you go down your hierarchy, hence add_SUBdirectory().
But "upstream"? add_subdirectory(../../library)? Doesn't work.
Maybe a standard include() with an absolute path, but doesn't feel right.
Op 3 nov. 2011 om 21:27 heeft Dan Kegel het volgende
geschreven:
> Wait, what
Every project's code base should be organized in the way that suits the
needs best, whatever the needs may be. ;-) E.g., my personal liking for the
general directory hierarchy of a project xyz - library or not - is
xyz
xyz
examples
utilities
...
i.e., the project's main part is organized
't it be good if you could extend find_package() with some kind of
"SOURCE-ONLY" communication or do you think that is the responsibility of
the find.cmake writer?
Thanks,
Daniel Dekkers
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
MESSAGE( STATUS "Bullet include/src directory not
found" )
ENDIF()
...
Daniel
-Oorspronkelijk bericht-
Van: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] Namens Hendrik
Sattler
Verzonden: maandag 7 november 2011 12:29
Aan: cmake@cmake
>> In reality, the Xcode generator only works 100% reliably well when you
>> do not try to specify the compiler, and let Xcode use the one it wants
>> to use by default.
Hm…
But we still want to build for iOS. There isn't really a problem with that in
Xcode 4.2/Lion/iOS5.0/CMake2.8-6 in my exper
Hi,
We are building a lib and an example app in Xcode (4.2) targeting iOS (5.0).
The top-level CMakeLists.txt recurses into lib and example:
PROJECT(Suite)
ADD_SUBDIRECTORY(MyLibrary)
ADD_SUBDIRECTORY(MyExample)
The lib is built in the traditional way…
PROJECT(MyLib)
…
ADD_LIBRARY( ${MYLIB_SO
Thanks.
You saved the day (again).
Works perfectly.
On Nov 11, 2011, at 5:22 PM, David Cole wrote:
> On Fri, Nov 11, 2011 at 11:12 AM, Daniel Dekkers
> wrote:
>> Hi,
>>
>> We are building a lib and an example app in Xcode (4.2) targeting iOS (5.0).
>>
>> T
Hi,
CMake doesn't support Xcode "workspaces" like it does Visual Studio "solutions".
But you can still define multiple PROJECT()'s that will all be visible and
buildable (via the scheme selector) in the IDE.
In our setup, we have a bunch of apps and a library, in the top level
CMakeLists.txt we
Hi,
I know it should be out there somewhere in the documentation, but can't find
it.
How do I check for an empty list?
I can use LIST(LENGTH MYLIST LISTCOUNT) with an extra variable LISTCOUNT but
isn't there a single command?
Thanks,
Daniel
--
Powered by www.kitware.com
Visit other Ki
g [mailto:cmake-boun...@cmake.org] Namens Michael
Wild
Verzonden: vrijdag 25 november 2011 15:15
Aan: cmake@cmake.org
Onderwerp: Re: [CMake] Checking for empty list
On 11/25/2011 02:52 PM, Daniel Dekkers wrote:
> Hi,
>
>
>
> I know it should be out there somewhere in the docum
Hi,
Has anyone managed to perform a successful iOS Archiving pass yet?
Our apps run on the simulator (both iPhone (5.0) and iPad (5.0)) and on the
actual devices iPhone 3GS (5.0.1) and iPad2 (5.0.1), but archiving always gives
a link error:
Ld
/Users/danieldekkers/Library/Developer/Xcode/Deri
This:
SET(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD_32_BIT)")
seems to result in a "standard" Xcode setting (armv7 (standard)) which is also
set when you let Xcode create a fresh iOS app (from its own templates).
But you also see this a lot on the fora:
SET(CMAKE_OSX_ARCHITECTURES "$(ARCHS_UNIVE
On Dec 4, 2011, at 11:59 AM, Michael Jackson wrote:
> I think if the CMake community took a vote we could probably come up with an
> "Exemplar" Find*.cmake file that is good for someone trying to develop a new
> one.
Yes please.
And I think in general that is true. Of course it is more interesti
sing 2.8.6. Best, Dick Munroe
>
>
> On 11/26/11 11:18 AM, David Cole wrote:
> Are you using CMake 2.8.6...? Older CMake versions have not been used
> much on Lion. It wouldn't surprise me if 2.8.6 works, but earlier
> versions have issues...
>
>
> HTH,
> David
n verify that). If you want to build a
> "Universal Binary" then put multiple values on a single line like so:
>
> CMAKE_OSX_ARCHITECTURES i386;x86_64
>
> All of this is for OS X Applications. I have no idea how any of this relates
> to iOS development.
Hi,
A small step in the iOS release archiving problem.
Note, this is all Xcode 4.0.2, Xcode 4.2 (the LLVM GCC compiler) doesn't
specify the error (more than "1"), so is basically unworkable. At least the
"old" GCC 4.2 compiler tells you what is going on.
For archiving to work on iOS (OSX don't
#x27;s annoying that Xcode forces its own out-of-source build system which
introduces complications, when we've got that aspect covered with CMake.
Thanks,
Daniel
On Dec 9, 2011, at 4:41 PM, daniel dekkers wrote:
> Hi,
>
> A small step in the iOS release archiving problem.
> Not
bout that.
Please let me know what you think. Should i feel confident that "it will work
eventually", in say three months, before the book comes out. Or is there some
structural problem going on, more than lack of interest.
Thanks,
Daniel
On Dec 10, 2011, at 1:34 PM, Daniel Dekkers wr
On 12/21/2011 05:25 PM, André Caron wrote:
Get rid of the file(GLOB ...). Never, ever use it unless you know
exactly what you're doing. Using it usually breaks something.
On Dec 21, 2011, at 5:59 PM, David Cole wrote:
I agree with the advice to get rid of file(GLOB
What's the alternative. Enumera
ps, and start enumerating every file
individually.
On Dec 23, 2011, at 5:20 PM, David Cole wrote:
> On Fri, Dec 23, 2011 at 10:45 AM, Rolf Eike Beer wrote:
>> Daniel Dekkers wrote:
>>> On 12/21/2011 05:25 PM, André Caron wrote:
>>> Get rid of the file(GLOB ...). Never,
Xcode stuff would be great...
http://public.kitware.com/Bug/view.php?id=12640
http://public.kitware.com/Bug/view.php?id=12506
http://public.kitware.com/Bug/view.php?id=12532
On Jan 2, 2012, at 6:11 PM, David Cole wrote:
> Hi all,
>
> Replies requested. Short replies only. Read on. Just a short r
Hi,
In Xcode, can I change build settings at "PROJECT" level via CMake?
SET_TARGET_PROPERTIES() always seems to work on "TARGETS" level.
Thanks,
Daniel Dekkers
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/ope
Hi, does anyone know what this "Boost_DIR" variable is from the
findBoost.cmake module? And why it is never found?
Everything works well, I use BOOST_ROOT to set the path to the Boost
distribution, just curious.
Daniel
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
It would be nice to have an OpenCL find module. But it should include easy
access to the Intel and NVIDIA libraries as well, I think, not just AMD. And
what about the different OpenCL versions? And does it work on Mac OS as well?
Finding the OpenCL framework?
Daniel
Op 24 feb. 2012 om 06:00 he
j build -target
cmTryCompileExec4035594004 -configuration Debug
Error: No developer directory found at /Developer. Run
/usr/bin/xcode-select to update the developer directory path.
Is this a known problem?
Thanks,
Daniel Dekkers--
Powered by www.kitware.com
Visit other Kitware open-source pr
ther paths from /Developer to /Applications.
-sigh-
Although actually it's ok, I didn't like Xcode not being in the /Applications
folder anyway.
Thanks,
Daniel
On Mar 27, 2012, at 5:34 PM, Sean McBride wrote:
> On Tue, 27 Mar 2012 16:59:07 +0200, Daniel Dekkers said:
>
>>
, Release, ...).
You still have to edit the scheme to make sure a Release build of the lib is
performed (it's not automatically triggered by the archive build).
But ok,.. after that... it archives.
Wow
Thanks,
Daniel Dekkers
--
Powered by www.kitware.com
Visit other Kitware open-s
lects which
components to install. I'm looking for separate installers, so I can
distribute the applications separately.
Thanks,
Daniel Dekkers
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers v
build.
Is there a way that we can "label" these obj files so Visual Studio leaves
them alone?
Kind Regards,
Daniel Dekkers
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on
2012 19:41
Aan: cmake@cmake.org
Onderwerp: Re: [CMake] Adding "*.obj" geometry files...
On 6/12/2012 1:10 PM, Daniel Dekkers wrote:
> Hi,
>
> We are adding some resource files (XML files, shaders, etc.) to a
> Visual Studio project just to make them visible and accessible in th
-
Van: Petr Kmoch [mailto:petr.km...@gmail.com]
Verzonden: woensdag 13 juni 2012 8:10
Aan: Daniel Dekkers
CC: Bill Hoffman; cmake@cmake.org
Onderwerp: Re: [CMake] Adding "*.obj" geometry files...
Hi Daniel.
Yes, that's how Visual Studio shows excluded files. If you exclude a file
"cluttery".
We have anywhere between 1 or 10 executables in a single solution and they
all get their own additional CopyResources target.
But, ok...
Thanks!
Daniel
-Oorspronkelijk bericht-
Van: Tim Hutton [mailto:tim.hut...@gmail.com]
Verzonden: woensdag 13 juni 2012 1
ECT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${RSRC_FILE_NO_PATH}
DEPENDS "${RSRC_FILE}"
)
Thanks,
Daniel
-Oorspronkelijk bericht-
Van: Petr Kmoch [mailto:petr.km...@gmail.com]
Verzonden: woensdag 13 juni 2012 14:36
Aan: Daniel Dekkers
CC: Ti
Hi,
If we add a set of resources to an application (OSX or iOS) with...
ADD_EXECUTABLE( ${APPNAME} MACOSX_BUNDLE ${ALLSOURCES} ${ALLRESOURCES} )
... where ALLRESOURCES contains references with complete paths (ie
/path/rsrc/images/image.png, /path/rsrc/xml/data.xml, etc...)
and label these files
files...
FOREACH( RSRC_FILE ${RT_ALL_RSRC_FILES} )
SET_SOURCE_FILES_PROPERTIES( ${RSRC_FILE} PROPERTIES
HEADER_FILE_ONLY TRUE )
ENDFOREACH()
Thanks,
Daniel
-Oorspronkelijk bericht-
Van: Petr Kmoch [mailto:petr.km...@gmail.com]
Verzonden: woensdag 13 juni 2012 8:10
Aan: Daniel Dekke
Brad King [mailto:brad.k...@kitware.com]
Verzonden: dinsdag 19 juni 2012 16:25
Aan: Daniel Dekkers
CC: 'Petr Kmoch'; 'j'; cmake@cmake.org; 'Bill Hoffman'
Onderwerp: Re: [CMake] Adding "*.obj" geometry files...
On 06/19/2012 09:13 AM, Daniel Dekkers wrote
Nope :(
-Oorspronkelijk bericht-
Van: Brad King [mailto:brad.k...@kitware.com]
Verzonden: dinsdag 19 juni 2012 22:45
Aan: Daniel Dekkers
CC: 'j'; cmake@cmake.org; 'Bill Hoffman'
Onderwerp: Re: [CMake] Adding "*.obj" geometry files...
On 06/19/2012
t as "Excluded From Build", complete with red stop sign icons in
the IDE, while with VS2010, the files are not "Excluded From Build" but labeled
as header only.
Isn't there a "CMake-way" that always results in "Excluded From Build" set,
independent of the
Hi,
Having trouble finding Freetype with the find module shipped with
Cmake2.8.9-rc1:
SET( ENV{FREETYPE_DIR} ${DEVELOPMENT_ROOT}/freetype-2.4.6 )
FIND_PACKAGE( Freetype REQUIRED )
I can't see anything wrong with these lines?
Thanks,
Daniel
--
Powered by www.kitware.com
66 matches
Mail list logo