Is it possible to get CMake to process/search for an alternative default
filename to CMakeLists.txt?
Motivation: I'm trying to set up CMake files for a rather large project
that has an existing set of CMake files that a) I'd like to keep in
place and b) keep unchanged until the parallel build
Thanks Michael.
Now how do I make 'copy' copy a Mac .app bundle? copy file simply
creates an empty directory call mac.app and copy directory refuses to obey.
Thx++
On 02/12/2011 05:43, Michael Wild wrote:
On 12/01/2011 11:24 PM, g...@novadsp.com wrote:
How can I get the same effect
How can I get the same effect as the Visual Studio post-build rules?
Nothing too fancy, just copy and zip files into a /dist directory.
Thx++
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages
I forgot to aks - what is the recommended way of adding multiple
definitions? i.e. /D_DEBUG /D_NO_GZIP?
Thx++
On 24/11/2011 22:22, Michael Hertling wrote:
On 11/24/2011 07:08 PM, g...@novadsp.com wrote:
How can I do this? Specifically generating for XCode.
My cmakefile has
Thanks.
On 25/11/2011 14:52, Michael Wild wrote:
On 11/25/2011 03:40 PM, g...@novadsp.com wrote:
[ Fixed TOFU ]
On 24/11/2011 22:22, Michael Hertling wrote:
On 11/24/2011 07:08 PM, g...@novadsp.com wrote:
How can I do this? Specifically generating for XCode.
--
Powered
How can I do this? Specifically generating for XCode.
My cmakefile has this:
if (${CMAKE_CFG_INTDIR} STREQUAL Debug)
Message(We are generating/building debug code for ${this_target})
ADD_DEFINITIONS(/D_DEBUG)
endif()
But _DEBUG is never defined.
This question comes up twice on StackOverflow.
Michael, *thanks*. This works exactly as hoped with CMake 2.8.6 on Snow
Leopard. Kudos.
On 24/11/2011 22:22, Michael Hertling wrote:
SET_DIRECTORY_PROPERTIES(PROPERTIES COMPILE_DEFINITIONS_DEBUG _DEBUG)
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
How can I get the cmake xcode generator to add a /include folder to
generated projects? The cmakelists contain these directives:
SET(${this_target}_HEADER_FILES ./a.h ./b.h)
SET_SOURCE_FILES_PROPERTIES(${this_target}_HEADER_FILES PROPERTIES
HEADER_FILE_ONLY TRUE)
LIST(APPEND
${${this_target}_HEADER_FILES}
${this_target}_SOURCE_FILES TRUE)
This seems to need CMake 2.8.6 to really work well.
--
Mike Jacksonwww.bluequartz.net
On Nov 22, 2011, at 8:42 AM, g...@novadsp.com wrote:
How can I get the cmake xcode generator to add a /include folder to generated
projects
all the feedback we can get ;-)
Thanks,
Daniel Dekkers
On Oct 2, 2011, at 6:27 PM, g...@novadsp.com wrote:
Hi Daniel
On 02/10/2011 15:03, Daniel Dekkers wrote:
With...
SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST
${PLIST_TEMPLATE} )
... we set a path to a Info.plist
}/Info.plist as input
and ${CMAKE_CURRENT_BINARY_DIR}/Info.plist as output.
Then you incorporate the configured version into the bundle:
set_target_properties(${this_target} PROPERTIES MACOSX_BUNDLE_INFO_PLIST
${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
On Oct 3, 2011, at 8:24 AM, g...@novadsp.com wrote
Hi Daniel, can you clarify this a bit? Do you have an example?
On 30/09/2011 15:23, Daniel Dekkers wrote:
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
Hi Daniel
On 02/10/2011 15:03, Daniel Dekkers wrote:
With...
SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST
${PLIST_TEMPLATE} )
... we set a path to a Info.plist template (we actually got separate ones for iOS and
OSX). Maybe you can call them what you want, haven't
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 Xcode generator.
Does anyone have a working example for XCode 3.X or 4 they can share?
The cmakelists.txt script is
Message(We are
Hi Daniel
On 30/09/2011 15:14, Daniel Dekkers wrote:
I've been battling with .xibs for weeks. What I am finally doing now is not
trying to compile and add them to the bundle via CMake myself using custom
commands.
I just add them as sources to ADD_EXECUTABLE(... ${RESOURCES}) and set
15 matches
Mail list logo