Re: [CMake] Support of compile features for Fujitsu C++ Compiler

2019-04-26 Thread Kai Wolf
If you want to add support to your specific compiler, you could add or extend another Fujitsu-DetermineCompiler.cmake file and append your CMAKE_MODULE_PATH in order to CMake to find it. You probably also need to adjust *Fujitsu-CXX.cmake, Fujitsu-CXX-FeatureTests.cmake and so on. I gave a talk

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Kai Wolf
<https://github.com/conan-io/conan/issues/4467> -- Kai Wolf Kai Wolf - SW Consulting www.kai-wolf.me <http://kai-wolf.me/> XING <https://www.xing.com/profile/Kai_Wolf14> · LinkedIn <https://www.linkedin.com/in/kw0lf/> · GitHub <https://github.com/NewProggie> > Am

Re: [CMake] [cmake-developers] Using CMake as a package manager vs using a dedicated package management tool (like Conan)

2019-02-19 Thread Kai Wolf
-- Kai Wolf Kai Wolf - SW Consulting www.kai-wolf.me <http://kai-wolf.me/> XING <https://www.xing.com/profile/Kai_Wolf14> · LinkedIn <https://www.linkedin.com/in/kw0lf/> · GitHub <https://github.com/NewProggie> > Am 19.02.2019 um 11:56 schrieb Craig Scott : > > >

Re: [CMake] Get linker flags / include directories for a library target

2018-12-21 Thread Kai Wolf
You can ask a CMake build target for its properties using get_target_property(). For instance, to retrieve the linker flags for a given target foo, you’d write: get_target_prooperty(foo_linker_flags foo LINK_FLAGS) See [1] for a list of valid parameters. Greetings, Kai [1] https://cmake.o

Re: [CMake] ExternalProject, Superbuild and rebuild on Windows

2018-12-20 Thread Kai Wolf
The CMAKE_BUILD_TYPE variable only makes sense for single-configuration generators (such as Makefile or Ninja) and is not used for IDE type generators. You should rather look for CMAKE_CONFIGURATION_TYPES as well as CMAKE_CFG_INTDIR. Greetings, Kai http://kai-wolf.me http://effective-cmake.com

Re: [CMake] Testing our CMake Modules

2018-12-10 Thread Kai Wolf
They (Kitware) typically write custom .cmake files to test the function/macro under test coupled together with a CMakeLists.txt file and/or a small C/C++ implementation file. Look here [1] for some examples, for instance CMake/Tests/MacroTest. Greetings, Kai http://kai-wolf.me http://effectiv

Re: [CMake] using ExternalProject_Add when cmake is launched

2018-05-02 Thread Kai Wolf
You probably need to manually add a dependency from your ExternalProject to your target that needs the libraries. For instance ExternalProject_Add(fetch_win32_libs ...) add_library(your_other_target ...) add_dependencies(your_other_target fetch_win32_libs) Greetings Kai Wolf http

[CMake] Adding ignored tests to CTest XML output

2018-03-22 Thread Kai Wolf
r, it seems that even though the tests are indeed not executed when running CTest, they're also not put into the XML file, for instance with . Is this behaviour expected or am I missing something? Thanks in advance Kai Wolf http://kai-wolf.me/ kai.w...@gmail.com -- Powered by www.kitware.c

Re: [CMake] [ANNOUNCE] CMake 3.11.0-rc3 is now ready for testing

2018-03-10 Thread Kai Wolf
he case, I will submit a patch for it right away. I just want to make sure, I’m not misunderstanding something here? Greetings, Kai Wolf <http://kai-wolf.me/> <http://kai-wolf.me/> <http://kai-wolf.me/>http://kai-wolf.me/ <http://kai-wolf.me/> [1] https://cmake

Re: [CMake] using external library

2018-03-05 Thread Kai Wolf
tware project. So you might want to reconsider a more cleaner layout. For inspiration you may have a look at the CMake configuration of the OpenChemistry project [1]. Greetings [1] https://github.com/OpenChemistry/openchemistry Kai Wolf http://kai-wolf.me/ kai.w...@gmail.com 2018-03-05 11:59 GMT+

Re: [CMake] [blog article] It's Time To Do CMake Right

2018-02-20 Thread Kai Wolf
scale quite well and managing a large set of (external) thirdparty dependencies is usually not as bad as it might look. Greetings, Kai Wolf <http://kai-wolf.me/> <http://kai-wolf.me/> <http://kai-wolf.me/> <http://kai-wolf.me/> http://kai-wolf.me/ 2018-02-20 15:41 GMT+01:00 Bo

Re: [CMake] [blog article] It's Time To Do CMake Right

2018-02-20 Thread Kai Wolf
g CMake in a correct and scalabale manner. As a shameless self-plug: I am currently writing a book[1] on exact this topic and really hope, I'll be able to release it by summer 2018 :-( Greetings, Kai [1] http://effective-cmake.com/ <https://github.com/NewProggie> 2018-02-20 14:

Re: [CMake] [cmake] [RFC] rewriting FindMKL

2018-01-23 Thread Kai Wolf
I've fixed some (mentioned) issues already and opened up a PR on GitHub. You might want to check that out, otherwise I'll just delete my PR. 2018-01-22 22:20 GMT+01:00 Alexander Neundorf : > On 2018 M01 22, Mon 15:16:50 CET Sik wrote: >> Hello CMake users and devs, >> >> In openmeeg we are review

[CMake] How to include external (shared) library with several dlls/dylibs

2018-01-22 Thread Kai Wolf
Hi, I need to integrate an externally built (shared) library as a logical build target into my CMake configuration which consists of several shared library files (dlls/dylibs). Usually I'd do the following: find_path(MyLib_INCLUDE_DIR mylib.h HINTS ${MyLib_PATH}/include) find_library(MyLi

[CMake] Concerning IDE support for superbuilds

2018-01-21 Thread Kai Wolf
Hi all, a common approach for dealing with larger dependencies in a project is using a superbuild approach, where all dependencies get downloaded in a separate repository using ExternalProject_Add() and the actual project is included as a sub repository (e.g. using git submodules) and also buil

[CMake] Embedding Python in macOS bundle

2017-03-18 Thread Adam Wolf
ded a few directories to the dirs parameter of fixup_bundle, but fixup_bundle doesn't seem to be pulling it in. -- Analyzing app='/Users/wolf/wnl/kicad/kicadmacbuilder/silly/bin/kicad.app/Contents/MacOS/kicad' -- bundle='/Users/wolf/wnl/kicad/kicadmacbuilder/silly/bin/k

Re: [CMake] Convert UTF8 to UTF16 (Windows)

2016-08-29 Thread Wolf
On , tonka tonka wrote: > I have a little problem with files which has to be UTF 16 instead of UTF 8, > f.e. Visual studios .rc files. They must be utf16 and git detect it as bin > files. > So my question is: how do you handle these files? > My rc files has to be generated with configure_file, so m

[CMake] OBJECT libraries and transient include dirs

2016-08-08 Thread Wolf
Hi all, I'm trying to setup OBJECT library for the first time and I've run into problem that include directories are not transient. Let me illustrate: add_library(foo-object OBJECT src/cache.cpp) target_include_directories(foo-object PUBLIC include) add_library(foo SHARED

[CMake] Cross compiling & conflicting declarations

2015-07-27 Thread Sepp Wolf
Hello, I'm using CMake 3.2.2 on Solaris 10 x86. I've built a toolchain to cross compile for SPARC, which is working fine for software with GNU autotools. But now I'm trying to compile Synergy, which is based on CMake, and I have lots of troubles with double declarations: [sepp@synergy /home/sepp/

Re: [CMake] Temp workaround for FindPythonLibs on Win7 64-bit

2013-05-31 Thread Adam Wolf
If this gets looked at, maybe we can add my Linux FindPythonLibs improvements at the same time? ;) http://cmake.3232098.n2.nabble.com/FindPythonLibs-Bug-0013794-fix-td7584055.html Adam Wolf On Fri, May 31, 2013 at 11:54 AM, Jeremy Carter wrote: > Hi, > > It has been established

[CMake] FindPythonLibs Bug #0013794 fix

2013-04-12 Thread Adam Wolf
ther other system that has newer libraries installed than the default interpreter. This appears to fix Bug #0013794. http://public.kitware.com/Bug/view.php?id=13794 I have attached the patch as a file, but I can also do a pull request or any other requested code submission process. Adam Wolf Wayne

Re: [CMake] disable global package caching mechanims?

2011-10-05 Thread Thomas Wolf
CMake only caches this kind of information in the CMakeCache.txt file in the build tree. You might want to take a look at the -C option of CMake. Alternatively, you can also try to play around with the CMAKE_SYSTEM_PREFIX and CMAKE_SYSTEM_*_PATH variables as documented the man-page. Michael Hi

[CMake] disable global package caching mechanims?

2011-10-05 Thread Thomas Wolf
Hi, is there a way to disable the global caching mechanism of cmake? I mean the caching where cmake stores where a certain software package can be /was found once successfully built. I have a closed standalone build (suitable for e.g. a buildserver and automatic testing) and want to make sure

Re: [CMake] overriding ${PROJECTNAME}_BINARY_DIR before call to project()

2011-09-28 Thread Thomas Wolf
On 28.09.2011 17:58, Jean-Christophe Fillion-Robin wrote: Hi Thomas, You will find below few points that should help you to address your issues: 1) CTK build system can be build with the option CTK_SUPERBUILD set to OFF, in that case the project will be built as a "regular" cmake project. 2) Y

[CMake] overriding ${PROJECTNAME}_BINARY_DIR before call to project()

2011-09-28 Thread Thomas Wolf
Hi there, I have some serious trouble to get a makefile running, comprising of MITK, VTK, ITK, CTK, Log4Qt, DCMTK, GDCM, etc... Because most of the makefiles have some imperfections regarding being built under windows and x64 with the project environment of Visual Studio 2008, we use direct

Re: [CMake] Visual Studio 2008 configure and build step independency

2011-09-22 Thread Thomas Wolf
Addition: if i try to fake the contents of the CTK use file, like set_found true usefile_included 1 find_package still tries to include the CTKConfig.cmake. I always thougt if the Find-variable is set to true find_package just assumes that everything went fine and continues (silent mode). Or is

[CMake] Visual Studio 2008 configure and build step independency

2011-09-22 Thread Thomas Wolf
Hello all, i think i stumbled upon something that keeps me occupied for quite some time now: I have a quite large CMake based project, wich is intended to generate a Visual Studo 2008 solution. The problem is, that I use mixed internal and external projects, which depend on each other, like VTK,

Re: [CMake] ExternalProject_Add without download of local sources?

2011-09-22 Thread Thomas Wolf
On 15.09.2011 18:30, David Cole wrote: > Luigi is correct: > > To use an existing source directory (just use the source in its place > without any copy operations), simply say: > > DOWNLOAD_COMMAND "" > SOURCE_DIR ${Log4Qt_SOURCE_DIR} > > The default behavior of copying the source tree when

Re: [CMake] ExternalProject_Add without download of local sources?

2011-09-15 Thread Thomas Wolf
On 15.09.2011 17:48, Luigi Calori wrote: > Did you tried specifying SOURCE_DIR without any URL and / or > DOWNLOAD_COMMAND "" > UPDATE_COMMAND "" > > Not sure this is correct but for my case seems to work > > HTH mhm, i swapped URL for the SOURCE_DIR, yes, and there is also no DOWNLOAD_COMMAND

Re: [CMake] ExternalProject_Add without download of local sources?

2011-09-15 Thread Thomas Wolf
small correction: i DO indeed want to have them compiled, but by taking the sources from the original location, not copying them to another directory and then have them compiled.. Regards, Thomas ___ Powered by www.kitware.com Visit other Kitware open-

[CMake] ExternalProject_Add without download of local sources?

2011-09-15 Thread Thomas Wolf
Hello, i am wondering if it is possible to have an external project building from local sources, *without* attemtping to download (in that case, copy) to a specific location. My sources of the externals are already in my repository, i do not want to have them compiled. I looked around for some w

Re: [CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-25 Thread Thomas Wolf
follow up: with an additional: >>> set( QT_INCLUDE_DIR $ENV{QTDIR}/include ) set( QT_HEADERS_DIR $ENV{QTDIR}/include ) set( QT_LIBRARY_DIR $ENV{QTDIR}/lib ) set( QT_BINARY_DIR $ENV{QTDIR}/bin ) set( QT_LIBRARY_DIR_TMP

Re: [CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-25 Thread Thomas Wolf
> > Sure, the find_program() call in FindQt4.cmake has registry keys first, but > if > you look at the docs for find_program(), all of those paths are looked at > last. > > The CMAKE_PREFIX_PATH and PATH variables have a higher priority, and you can > set those to control which Qt you want fo

[CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-24 Thread Thomas Wolf
Dear all, i want my build system for our project (several heavy libraries) to build both 32 and 64 bit windows versions. Everything is integrated and working, except one thing: QT 4.7 is used, but installed independently (standard library, not committed to repository). So everyone has it installe

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-15 Thread Chris Wolf
On 8/13/10 1:12 PM, Martin Costabel wrote: > Chris Wolf wrote: > [] >> Have you actually built shared libraries on MacOS with CMake? If so, >> maybe an example >> of yours would be more helpful. > > The following settings work for me

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-15 Thread Chris Wolf
On 8/15/10 12:43 PM, Michael Wild wrote: > > On 15. Aug, 2010, at 13:22 , Chris Wolf wrote: > >> >> >> >>>> >>>> No, the two mechanisms are fundamentally different. >>>> >>>> On Linux the RPATH is a search pat

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-14 Thread Chris Wolf
On 8/14/10 4:01 PM, Michael Wild wrote: > > On 14. Aug, 2010, at 18:26 , Chris Wolf wrote: > >> >> >> On 8/14/10 10:31 AM, Michael Wild wrote: >>> >>> On 14. Aug, 2010, at 15:13 , Chris Wolf wrote: >>> >>>> >>>> &g

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-14 Thread Chris Wolf
On 8/14/10 10:31 AM, Michael Wild wrote: > > On 14. Aug, 2010, at 15:13 , Chris Wolf wrote: > >> >> >> On 8/14/10 3:35 AM, Michael Wild wrote: >>> >>> On 13. Aug, 2010, at 20:58 , Michael Wild wrote: >>> [...] >>>> >>&g

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-14 Thread Chris Wolf
On 8/14/10 3:35 AM, Michael Wild wrote: > > On 13. Aug, 2010, at 20:58 , Michael Wild wrote: > [...] >> >> Sure, http://repo.or.cz/w/freefoam.git/shortlog/refs/heads/pu, but it's >> pretty complex... >> >> Michael > > Attached is a tiny project which works for me on both Linux and Mac. > > Mi

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-13 Thread Chris Wolf
On 8/13/10 11:21 AM, Michael Wild wrote: > > On 13. Aug, 2010, at 16:32 , Chris Wolf wrote: > >> >> >> On 8/13/10 10:23 AM, Chris Wolf wrote: >>> >>> >>> On 8/13/10 9:29 AM, Michael Wild wrote: >>>> >>>> On 13. Aug,

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-13 Thread Chris Wolf
On 8/13/10 10:23 AM, Chris Wolf wrote: > > > On 8/13/10 9:29 AM, Michael Wild wrote: >> >> On 13. Aug, 2010, at 15:25 , Chris Wolf wrote: >> >>> >>> I have confirmed that the RPATH handling, as documented here: >>> >>> http://www.c

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-13 Thread Chris Wolf
On 8/13/10 9:29 AM, Michael Wild wrote: > > On 13. Aug, 2010, at 15:25 , Chris Wolf wrote: > >> >> I have confirmed that the RPATH handling, as documented here: >> >> http://www.cmake.org/Wiki/CMake_RPATH_handling >> >> Is only accurate for the Li

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-13 Thread Chris Wolf
I have confirmed that the RPATH handling, as documented here: http://www.cmake.org/Wiki/CMake_RPATH_handling Is only accurate for the Linux case and *NOT* for MacOS. Here is the summary of my findings: "Default RPATH": http://www.cmake.org/Wiki/CMake_RPATH_handling#Default_RPATH_settings li

Re: [CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-13 Thread Chris Wolf
On 8/13/10 3:47 AM, Michael Wild wrote: > > On 12. Aug, 2010, at 22:37 , Chris Wolf wrote: > >> I have a project which creates a shared library and a utility which uses this >> shared library. I would like to be able to run the utility within the build >> tree and

[CMake] Weirdness with shared library, RPATH policy on MacOS

2010-08-12 Thread Chris Wolf
I have a project which creates a shared library and a utility which uses this shared library. I would like to be able to run the utility within the build tree and also from the final install directory. I can do this, it works, but the path hard-coded path in the executable is always the build tre

Re: [CMake] Framework + Unix tools help

2010-08-12 Thread Chris Wolf
On 8/12/10 10:20 AM, Carlos Gonçalves wrote: > Hi, > > I have already looked everywhere possible (so to speak) on how to create a > Framework + Unix tools as described in [1] but found no examples. So far I > was able to create a Framework only [2]. > > I'm trying to add Mac OS X support to G

Re: [CMake] Obtaining info about the compiler command arguments

2010-08-12 Thread Chris Wolf
On 8/12/10 1:30 PM, Óscar Fuentes wrote: > Michael Wild writes: > How to know the compiler arguments set by include_directories, add_definitions, etc? CMAKE__FLAGS (with and whitout the uppercase build_type suffix) doesn't contain anything that was set by the cmake comm

Re: [CMake] OS X architecture changes interfere with CheckTypeSize()?

2010-08-11 Thread Chris Wolf
On 8/11/10 4:29 PM, Michael Wild wrote: > > On 11. Aug, 2010, at 22:16 , Michael Jackson wrote: > >> >> >> On Aug 11, 2010, at 3:52 PM, Michael Wild wrote: >> >>> >>> On 11. Aug, 2010, at 21:44 , Erik Lindahl wrote: >>> Hi, Sound technical answers from both David & Clinton - I se

Re: [CMake] Support for multiple components in cpack

2010-08-11 Thread Chris Wolf
On 8/11/10 5:39 PM, Eric Noulard wrote: > 2010/8/11 Thawan Kooburat : >> Hi Eric, >> >> I read though this thread and also two bug reports related to this issue. >> >> It seems like it will take a while because of CPack design issue. Do >> you think there will be any workaround or small hack to m

Re: [CMake] Support for multiple components in cpack

2010-08-10 Thread Chris Wolf
On 8/9/10 2:22 PM, Eric Noulard wrote: > 2010/8/9 Chris Wolf : >> >> >> On 8/9/10 12:11 PM, Kishore wrote: >>> On Friday 06 Aug 2010 4:18:36 am Eric Noulard wrote: >>>> 2010/8/4 Kishore : >>>>> On Monday 02 Aug 2010 4:59:47 pm Eric Noul

Re: [CMake] Support for multiple components in cpack

2010-08-09 Thread Chris Wolf
On 8/9/10 12:11 PM, Kishore wrote: > On Friday 06 Aug 2010 4:18:36 am Eric Noulard wrote: >> 2010/8/4 Kishore : >>> On Monday 02 Aug 2010 4:59:47 pm Eric Noulard wrote: Hi All, I did add a patch for the "multiple file problem" http://public.kitware.com/Bug/view.php?id=10736 >>

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-07 Thread Chris Wolf
On 8/7/10 12:13 PM, David Cole wrote: > On Sat, Aug 7, 2010 at 11:55 AM, Chris Wolf wrote: > >> >> >> On 8/7/10 11:22 AM, David Cole wrote: >>> On Sat, Aug 7, 2010 at 11:02 AM, Chris Wolf wrote: >>> >>>> >>>> >>>

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-07 Thread Chris Wolf
On 8/7/10 11:22 AM, David Cole wrote: > On Sat, Aug 7, 2010 at 11:02 AM, Chris Wolf wrote: > >> >> >> On 8/7/10 9:44 AM, David Cole wrote: >>> On Sat, Aug 7, 2010 at 9:26 AM, Chris Wolf wrote: >>> >>>> >>>> >>>> On

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-07 Thread Chris Wolf
On 8/7/10 9:44 AM, David Cole wrote: > On Sat, Aug 7, 2010 at 9:26 AM, Chris Wolf wrote: > >> >> >> On 8/7/10 7:14 AM, Eric Noulard wrote: >>> 2010/8/7 Chris Wolf : >>>> On 8/6/10 8:55 PM, Eric Noulard wrote: >>>>&

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-07 Thread Chris Wolf
On 8/7/10 9:50 AM, David Cole wrote: > On Sat, Aug 7, 2010 at 9:44 AM, David Cole wrote: > >> On Sat, Aug 7, 2010 at 9:26 AM, Chris Wolf wrote: >> >>> >>> >>> On 8/7/10 7:14 AM, Eric Noulard wrote: >>>> 2010/8/7 Chris Wolf : >>&

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-07 Thread Chris Wolf
On 8/7/10 9:44 AM, David Cole wrote: > On Sat, Aug 7, 2010 at 9:26 AM, Chris Wolf wrote: > >> >> >> On 8/7/10 7:14 AM, Eric Noulard wrote: >>> 2010/8/7 Chris Wolf : >>>> On 8/6/10 8:55 PM, Eric Noulard wrote: >>>>&

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-07 Thread Chris Wolf
On 8/7/10 7:14 AM, Eric Noulard wrote: > 2010/8/7 Chris Wolf : >> On 8/6/10 8:55 PM, Eric Noulard wrote: >>> >>> Did you try the command line? >>> >>> cpack -D CPACK_PACKAGING_INSTALL_PREFIX="/opt" -G DEB >

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-06 Thread Chris Wolf
On 8/6/10 8:55 PM, Eric Noulard wrote: > 2010/8/6 Chris Wolf : >> Earlier, I identified a problem with the "PackageMaker" (Apple) packager, >> and now, I see the same exact problem with the "DEB" (Debian) >> packager - it keeps prefixing

Re: [CMake] Error with cpack -G ZIP

2010-08-06 Thread Chris Wolf
On 8/6/10 8:43 PM, Eric Noulard wrote: > 2010/8/6 Chris Wolf : >> I am trying the ZIP package type and I get the same error on MacOS and Linux: >> >> CPack Error: archive_write_header:Filetype not supportedNo such file or >> directory -25 >> CPack Error: arc

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-06 Thread Chris Wolf
be the case here) I'm no expert, so I could be missing things, but I think the behavior should be: CMAKE_INSTALL_PREFIX - controls "make install", does NOT effect "make package" CPACK_PACKAGING_INSTALL_PREFIX - controls "make package", has no effect on "make

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-06 Thread Chris Wolf
On 8/6/10 6:30 PM, David Cole wrote: > On Fri, Aug 6, 2010 at 5:49 PM, Chris Wolf wrote: > >> I'm still unclear what you're suggesting here (quote, below). If >> I run "make package", doesn't that make target invoke cpack with the >> cmak

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-06 Thread Chris Wolf
CPackOptions.cmake") > > > See CMake's "CMakeCPack.cmake" and "CMakeCPackOptions.cmake.in" files in the > top level directory for more CPack magic than you'll be able to absorb on a > Friday afternoon :-) > > > HTH, > David > > &

Re: [CMake] still having a problem with PackageMaker, and now DEB

2010-08-06 Thread Chris Wolf
's "CMakeCPack.cmake" and "CMakeCPackOptions.cmake.in" files in the > top level directory for more CPack magic than you'll be able to absorb on a > Friday afternoon :-) > > > HTH, > David > > > On Fri, Aug 6, 2010 at 4:45 PM, Chris Wolf wrot

[CMake] still having a problem with PackageMaker, and now DEB

2010-08-06 Thread Chris Wolf
Earlier, I identified a problem with the "PackageMaker" (Apple) packager, and now, I see the same exact problem with the "DEB" (Debian) packager - it keeps prefixing "./usr" to all the paths. Changing CPACK_PACKAGING_INSTALL_PREFIX doesn't do anything (even when it's at the top of the file) This

[CMake] Error with cpack -G ZIP

2010-08-06 Thread Chris Wolf
I am trying the ZIP package type and I get the same error on MacOS and Linux: CPack Error: archive_write_header:Filetype not supportedNo such file or directory -25 CPack Error: archive_write_data(): tried to write 16384 write 0 I searched around in case this was a known issue. The Wiki says: "

Re: [CMake] Small, complete CPack example? re: CPACK_INCLUDE_TOPLEVEL_DIRECTORY

2010-08-06 Thread Chris Wolf
On 8/6/10 12:57 PM, Chris Wolf wrote: > > > On 8/6/10 7:22 AM, Eric Noulard wrote: >> 2010/8/6 Chris Wolf : >>> >>> e.g for : install(TARGETS usb LIBRARY DESTINATION lib) >>> >>> (where project name is "libusb") >>> >>

Re: [CMake] Small, complete CPack example?

2010-08-06 Thread Chris Wolf
On 8/6/10 9:46 AM, Bill Hoffman wrote: > There is one in the Tutorial: > > http://www.cmake.org/cmake/help/cmake_tutorial.html > > -Bill I did look at that when I first started, but this tutorial does not install the library (just the executable and headers). Right now, I'm focused on a proje

Re: [CMake] Small, complete CPack example?

2010-08-06 Thread Chris Wolf
On 8/6/10 7:22 AM, Eric Noulard wrote: > 2010/8/6 Chris Wolf : >> >> e.g for : install(TARGETS usb LIBRARY DESTINATION lib) >> >> (where project name is "libusb") >> >> The CPack-generated TGZ archive will contain: >> libusb-0.1.1-Darwin/li

Re: [CMake] Small, complete CPack example?

2010-08-05 Thread Chris Wolf
On 8/5/10 6:22 PM, Eric Noulard wrote: > 2010/8/6 Chris Wolf : >> >> Unfortunately, at first, I din't see how your example is different from >> the parts of my CMakeList.txt I sent in my last post. >> >> Then I noticed that your "install(TAR

Re: [CMake] Small, complete CPack example?

2010-08-05 Thread Chris Wolf
On 8/5/10 5:15 PM, Olaf van der Spek wrote: > On Thu, Aug 5, 2010 at 11:06 PM, Chris Wolf wrote: >> I'm looking all over for an end-to-end basic example of using CPack >> to create a package with a single shared library target. It can >> even

[CMake] Small, complete CPack example?

2010-08-05 Thread Chris Wolf
y basic) example would be helpful. Thanks, Chris Wolf P.S. Here is my current CMakeList.txt: cmake_minimum_required(VERSION 2.8) project(libusb) set(NAME libusb) include(CheckIncludeFiles) include(CPack) set(CPACK_PACKAGE_EXECUTABLES "libusb.dylib" "libusb-1.0.8&q

Re: [CMake] Cannot find "modules" directory on MacOS

2010-08-05 Thread Chris Wolf
.app/Contents/share/cmake-2.8/Modules" Also, I think the man pages still need to be copied, or symlinked, or the MANPATH updated. Thanks, Chris Wolf On 8/5/10 3:18 PM, Ryan Pavlik wrote: > How are you running cmake? I've used the installer from the web site on my > mac, and it wor

[CMake] Cannot find "modules" directory on MacOS

2010-08-05 Thread Chris Wolf
quot;postflight" script should have also symlinked, or copied, the "doc", "man" and "share" directory hierarchies content also. I can do this manually myself, but I just wanted to point out the issue with the MacOS installer package for cmake-2.8.2. Thanks, C

[CMake] DartClient for Debug configuration on Windows using ctest/cmake

2006-05-09 Thread Ivo Wolf
). Does this mean that currently all DartClients on Windows compile as "Release" or is there a possibility to override this somehow? Thanks, Ivo -- -- Dr. Ivo Wolf, Dipl.-Phys. Phone: (+49) 6221/42-2327