On 05/16/2010 01:01 PM, Marcus D. Hanwell wrote:
> OK, may be others on the list may have other experiences they will
> share. After having spent quite a bit of time working on packaging for a
> Linux distro, and using CMake's external projects I see many parallels.
>
> The external project allow
On 05/16/2010 12:36 PM, Marcus D. Hanwell wrote:
> On Sun, May 16, 2010 at 2:26 PM, Timothy M. Shead <mailto:tsh...@k-3d.com>> wrote:
>
> On 05/16/2010 12:11 PM, Marcus D. Hanwell wrote:
> > On Sun, May 16, 2010 at 12:48 PM, Timothy M. Shead
>
On 05/16/2010 12:11 PM, Marcus D. Hanwell wrote:
> On Sun, May 16, 2010 at 12:48 PM, Timothy M. Shead <mailto:tsh...@k-3d.com>> wrote:
>
> I'd like to do the following:
>
> # Build external project A
> ExternalProject_Add(A ...)
>
> # I
I'd like to do the following:
# Build external project A
ExternalProject_Add(A ...)
# Import target B, which is exported by A in AConfig.cmake
ExternalProject_Get_Property(A, BINARY_DIR)
set(A_DIR ${BINARY_DIR})
find_package(A)
# Link with B
add_library(C ...)
target_link_libra
Jörg Förstner wrote:
Hi,
if I execute 'make clean', then all object files of the whole project
are removed.
Now I would like to clean only object files belonging to one
target/library, to force rebuilding this library.
How can I do this?
Best Regards,
Joerg
If you are using CMake to gen
Timothy M. Shead wrote:
Michael Wild wrote:
On 16. Jul, 2009, at 16:17, Bill Hoffman wrote:
Michael Wild wrote:
Actually, I'm planning on doing this with the .def files. But then,
maintaining them might also become a nightmare.
You can generate them if you use dumpbin and some scri
ur project uses for this purpose:
http://k3d.hg.sourceforge.net/hgweb/k3d/file/079fa1503f31/gendef
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
Powered by www.kitware.com
Visit
for this case.
On the other hand, I can think of some cases where you will have
file/dir create/write access under the CMAKE_INSTALL_PREFIX directly,
but not in some of its subdirectories. In that case, it would not work
even now...
Understood. Thanks for clarifying these issues.
Cheers,
-drop generator install files within the bundle?
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
htt
l use-case.
Many thanks,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensourc
Brad King wrote:
Timothy M. Shead wrote:
Folks:
On a couple of occasions now I've recommended the use of relative paths
with the OSX bundle installer - this to install files within the bundle
in "nonstandard" locations. It would be good to hear from the CMake
gurus on w
;")
FOREACH(DEPENDENCY ${DEPENDENCIES})
GET_FILENAME_COMPONENT(DEPENDENCY_NAME "${DEPENDENCY}" NAME)
GET_FILENAME_COMPONENT(DEPENDENCY_ACTUAL "${DEPENDENCY}" REALPATH)
FILE(INSTALL
DESTINATION "${CMAKE_INSTALL_PREFIX}/lib"
TYPE EXECUTABLE
RENAME "$
t. For example:
INSTALL(FILES foo DESTINATION ../MacOS)
... note that this only makes sense within the context of an OSX bundle.
Thoughts?
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
Michael Jackson wrote:
On May 29, 2009, at 11:49 AM, Timothy M. Shead wrote:
Tobias Sauerwein wrote:
Hi Everyone
In my attempt to get cmake/cpack to produce a propper OS X bundle,
I hit a problem. We use a launcher script written in applescript
which is compiled in the build process
al touches?
Tobias:
My experience when I was writing the bundle generator was that the
startup command only worked if it matched the bundle name. From your
question there must be some way to control what gets executed when a
user double-clicks the bundle. Info.plist?
Cheers,
Tim
--
Timoth
o be disabled by default and enabled e.g. via an option like
CMAKE_AUTOMATIC_PARALLEL_MAKE_INVOCATION or something like this.
I believe that this must be configurable - using distcc, developers may
want to build with -jx > the number of local cores.
Che
Mike Arthur wrote:
I think it's worth look at the PackageKit generator which does this properly.
I'm looking at an up-to-date CMake source tree, and I don't see this
generator ... can you explain what it is?
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualiz
David Cole wrote:
> I have always been of the opinion that if you are building a Mac bundle
> application, it should be complete as a bundle at the end of the build.
> At the end of "make". Even before "make install".
>
> Now that may just be my ancient Mac-fanboy-forever bias showing through,
> b
ed in the build directory every time
you specified WIN32_EXECUTABLE, we'd be having the same sort of
confusion on Win32.
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
CMake mail
file was built
with the MACOSX_BUNDLE property set, so that it could adjust its behavior?
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
CMake mailing list
CMake@cmake.org
http://w
it doesn't have any third-party dependencies. The goal with the
bundle generator is to abstract away platform differences so that one
set of INSTALL() paths works everywhere.
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualiz
TALL() commands.
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
e /Applications shortcut.
As Mike points out, there is room for better defaults, but this is
exactly how the bundle generator operates.
I'd consider Clint's request to be an "advanced" capability, one that
should be reasonable to add in a backwards-compatible way
ed on components sounds like a
good idea. I guess that in an ideal world you would like to set
per-component properties (if there were such a thing) that could be used
by the bundle generator to setup the bundles, but other workarounds
should be possible.
Cheers,
Tim
--
Timothy M. Shea
ath, then CPack
ensures that it gets cleaned-up automatically.
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Pierrick Grasland wrote:
> I'm testing CMake with a little project, but I encounter a problem with GTK.
> I was building with autotools and pkg_config before, so I know I have
> GTK+-2.0 on my system.
Since pkg-config is the "officially supported" way to obtain GTK
dependencies and compiler flag
e dir that you *don't* want to
distribute, you can set CPACK_SOURCE_IGNORE_FILES to a list of regex
expressions that will be ignored. Note that the default value for this
variable is used to strip CVS/.svn cruft out when packaging the sources.
Cheers,
Tim
--
Timothy M. Shead
Dat
ot "source_package" ...
Truly Yours,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
bdirectory with a custom
target, etc).
There is no equivalent to "make distcheck", unless you roll your own
(which certainly would be doable).
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National L
uot;CMAKE_INSTALL_COMPONENT=Foo"
-D "CMAKE_INSTALL_PREFIX=C:/Program Files/Foo-Debug"
-P "${Foo_BINARY_DIR}/cmake_install.cmake"
)
ADD_CUSTOM_TARGET(Install-Foo-Release
${CMAKE_COMMAND}
-D "BUILD_TYPE=Release"
-D "CMAKE_INSTALL_COMPONENT=Foo"
go for it!
Cheers,
Tim
--
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
te timescale?
These are all sensible behaviors, completely consistent with what I had
in mind long-term, but very, very low priority for me. You should
jump-in and submit patches for anything that matters to you. As long as
I retain the (optional) flexibility that I need, I'm happy.
Ch
Mike Arthur wrote:
> On Friday 31 October 2008 16:18:51 Timothy M. Shead wrote:
>> Of course, you still have to provide a mechanism so the executable can
>> be located when your user double-clicks your bundle. That's where
>> CPACK_BUNDLE_STARTUP_COMMAND comes-in ... i
Mike Arthur wrote:
On Thursday 30 October 2008 18:43:04 you wrote:
Basically what I mean is, if the CPACK_BUNDLE_STARTUP_COMMAND is simply
copied, how can you do install_name_tool operations on it without disrupting
the build tree?
In my humble opinion the CPACK_BUNDLE_STARTUP_COMMAND and p
Mike Arthur wrote:
On Thursday 30 October 2008 17:25:45 you wrote:
Yes, this is something I've been contemplating on a low-priority thread.
I've added this and your other suggestions to the wiki, no particular
guarantees on when I'll get to them.
Obviously I realise this you aren't a Kitware e
Mike Arthur wrote:
Are you using it with BundleUtilities? If not you should think of how you
could do, as manually having to run install_name_tool when BundleUtilities is
available is a bit of a unpleasant proposition.
Yes, this is something I've been contemplating on a low-priority thread.
I
Mike Arthur wrote:
The subject says it all, the CPACK Bundle Generator conflicts with
MACOSX_BUNDLE and produces two nested Bundles. This should probably be checked
for and/or documented because I assumed the two were related and wasted a fair
bit of time working out that they weren't.
Mike:
G
> Folks:
>
> I'm generating OSX bundles for a couple of projects with GTK and one
> with Qt dependencies. Currently I handle everything with CMake,
> custom
> targets, and some custom shell scripts, but I'd like to get CPack to
> do
> the work.
>
> The OSXX11 generator is *almost* perfect, bu
Folks:
I'm generating OSX bundles for a couple of projects with GTK and one
with Qt dependencies. Currently I handle everything with CMake, custom
targets, and some custom shell scripts, but I'd like to get CPack to do
the work.
The OSXX11 generator is *almost* perfect, but I need some additio
On Sat, 2008-03-01 at 15:20 -0500, Brandon Van Every wrote:
> > * no well defined syntax:
> >
> > - missing datatypes; all seems to be a string. Mastering ';' and
> > spaces is trial-and-error game :(
>
> Totally agree on this point. It needs documentation. My suggestion
> on the matter
On Thu, 2008-01-31 at 04:17 -0500, Brandon Van Every wrote:
> On Jan 30, 2008 9:53 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote:
> > My guess is YES, etc., are being interpreted
> > as (undefined) variable names
>
> Yep, that's exactly what's happening. The macro expands to things
> like if(YES)
Folks:
This seems like CMake 101, but I'm running into weird behavior testing
boolean expressions within a macro. I've reproduced the problem using
both 2.4.7 and CVS trunk on Gentoo Linux, presumably it is some subtlety
that I just don't get :)
If I run the following:
set(var YES)
_COMMAND(OUTPUT ${po_BINARY_DIR}/k3d.pot
COMMAND ${K3D_XGETTEXT} --files-from
${po_SOURCE_DIR}/POTFILES.in --keyword=_ -o ${po_BINARY_DIR}/k3d.pot
--copyright-holder="Timothy M. Shead" --msgid-bugs-address="[EMAIL PROTECTED]"
--no-wrap --no-location
43 matches
Mail list logo