[CMake] Android unrecognized as system name

2014-06-19 Thread Pierre-Jean Arduin
Dear Madam, dear Sir, I got this message when trying to cross-compile ITK (Insight Toolkit) for Android on Linux: System is unknown to cmake, create: Platform/Android to use this system, please send your config file to cm...@www.cmake.org so it can be added to cmake It seems I set the prop

Re: [CMake] 138% progress when building both all and not-in-all target?

2014-06-19 Thread Leif Walsh
I've seen this too but never noticed a pattern about when it happens. -- Cheers, Leif On Fri, Jun 20, 2014 at 12:40 AM, Dan Kegel wrote: > Seen in the wild today: > [119%] Building CXX object > CMakeFiles/clownCar.dir/examples_noinst/clownCar.C.o * > ... > [138%] Built target examples_noinst >

[CMake] 138% progress when building both all and not-in-all target?

2014-06-19 Thread Dan Kegel
Seen in the wild today: [119%] Building CXX object CMakeFiles/clownCar.dir/examples_noinst/clownCar.C.o * ... [138%] Built target examples_noinst And on another machine, the last report was [144%] Built target plasmasimple All were with CMake 2.8.10.2 I see from http://www.cmake.org/pipermail/

Re: [CMake] Hyperlink to build URL

2014-06-19 Thread Jeff Mills
Hi Jc, That's exactly what I was looking for. Thank you! ~Jeff On Tue, Jun 17, 2014 at 8:27 PM, Jean-Christophe Fillion-Robin < jchris.filli...@kitware.com> wrote: > Hi Jeff, > > If you upload a file having extension .url containing the url, it will be > associated with your build by presentin

Re: [CMake] Feature suggestion: cmake -E do_nothing -- useful to simulate configuration-specific commands

2014-06-19 Thread Anders Lindgren
Hi David! I have been playing around with "cmake -E echo". The problem is that when using generator expressions, you can't apply them to the entire command line (they must be applied to one argument at a time). For example, if we would use the expression generator on the command we could generate

Re: [CMake] Question regarding External Project add and VTK

2014-06-19 Thread jmerkow
Jc, Thank you! This is what Im looking for. I've been having some trouble with these paths in other places too ([1]), but haven't had the time to go back and redo it. -Jameson [1] http://cmake.3232098.n2.nabble.com/CMAKE-RUNTIME-OUTPUT-DIRECTORY-inconsistent-between-make-and-Xcode-td7586922.ht

Re: [CMake] CPack packaging portable binaries with external shared libraries

2014-06-19 Thread Jean-Christophe Fillion-Robin
Hi, In case, you think about having more than on executable in different folder or if you will have plugins, I wouldn't recommend using "@executable_path" instead "@loader_path" is the way to go. This is discussed here : http://cmake.3232098.n2.nabble.com/Mac-loader-path-for-rpath-questions-tp758

Re: [CMake] Confusion regarding usage of find_package and PATHS or HINTS

2014-06-19 Thread jmerkow
Jc, That is precisely what I do for superbuild. This applies to non superbuilds, its also helpful if we are running on a cluster, supercomputers or machines that it is difficult to access the web (though superbuild URLs can be local paths too). Its also helpful for people running multiple version

Re: [CMake] Feature suggestion: cmake -E do_nothing -- useful to simulate configuration-specific commands

2014-06-19 Thread David Cole via CMake
cmake -E echo with no further arguments is already pretty darned close to "cmake -E do_nothing"... For the configuration-specific custom commands, keep your eye on http://public.kitware.com/Bug/view.php?id=9974 and its related bugs. Eventually, I expect it will be possible. Sooner, if you h

[CMake] Ralph Barth/AEH/DBS/GDB ist außer Haus.

2014-06-19 Thread Ralph . Barth
Ralph Barth will be out of the office starting 19.06.2014 and will be returning on 23.06.2014. Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten. WLLM related questions pls. contact Sebastian Neusüß and Jens Keil. Theo Price Feed from EDRE pls contact Jens Keil -

Re: [CMake] header files/build orgainization with cmake

2014-06-19 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/2014 02:04 PM, Marcel Loose wrote: > Hi Majo, > > We have a similar situation. I assume you want to use lib1 in proj2 > at build time, without doing a separate install. The way I solved > this involves symbolic links, which AFAIK only work on

Re: [CMake] CPack packaging portable binaries with external shared libraries

2014-06-19 Thread Zack Galbreath
On Wed, Jun 18, 2014 at 10:14 AM, Sankhesh Jhaveri < sankhesh.jhav...@kitware.com> wrote: > > Any ideas/suggestions how to properly package Linux archive? > > This has worked for me in the past: set(origin "$ORIGIN") if (APPLE) set(origin "@executable_path") endif() set(CMAKE_INSTALL_RPATH "$

[CMake] Why CMake automatically uses -isysroot on OS X?

2014-06-19 Thread Mojca Miklavec
Hi, I was struggling with a compilation of a project via CMake. Thu build kept failing for unknown reasons until I realized that CMake would automatically compile with -isysroot /Developer/SDKs/MacOSX10.6.sdk \ -mmacosx-version-min=10.6 (or any other sdk, depending on OS version) unless

Re: [CMake] Running tests that depends on third-party DLL

2014-06-19 Thread Alexander Lamaison
Scott Aron Bloom writes: > I just ran into this exact problem. > > For me it was the TCL shared library, the technique I used worked fine > for windows and linux. > > Im not sure about OSX since you are running fixup_bundle.. > > I also used an ADD_CUSTOM_COMMAND, but I simply did a copy of the >

[CMake] Feature suggestion: cmake -E do_nothing -- useful to simulate configuration-specific commands

2014-06-19 Thread Anders Lindgren
Hi! In my project, I have a situation where I would like to perform an action as post build step, but only for the Debug configuration. (In the example below I copy a file.) Unfortunately, it's not possible to apply add_custom_command to a specific configuration (at least when using a multi-confi

[CMake] Ninja order-only dependency makes inefficient ninja DAG

2014-06-19 Thread Kristofer Tingdahl
Hi, CMake adds order-only dependencies in build.ninja between libraries and subsequent object-files, and I cannot see why this is needed. Consider the following CMakeLists.txt: project( program ) add_library( A SHARED a.cc ) add_library( B SHARED b.cc ) target_link_libraries( B A ) add_executable

Re: [CMake] Mac @loader_path for @rpath questions

2014-06-19 Thread Jean-Christophe Fillion-Robin
Hi Folks, I have a version of Fixup bundle that support @rpath. See [1] Test need to be added before it can integrated. It is currently used to package 3DSlicer on a daily basis. See [2] and [3]. To have a look at the package, Slicer can be downloaded on http://download.slicer.org Note that it w

Re: [CMake] Confusion regarding usage of find_package and PATHS or HINTS

2014-06-19 Thread Jean-Christophe Fillion-Robin
Hi Jameson, If your are "superbuild-ing" the associated project, you can simply configure the project depending on these library by explicitly setting the expected variable. That will be deterministic and you won't rely on a search and find behavior. Hth Jc On Tue, Jun 10, 2014 at 2:28 PM, jmer

Re: [CMake] Question regarding External Project add and VTK

2014-06-19 Thread Jean-Christophe Fillion-Robin
Hi Jameson, There is indeed a recipe, assuming you are using ExternalProjectDependency.cmake from Artichoke [1], if you pass the variable to your project using ${CMAKE_CFG_INTDIR} it will be automatically passed as CMAKE_ARGS (instead of CMAKE_CACHE_ARGS) to external project and it will be expende

Re: [CMake] Hyperlink to build URL

2014-06-19 Thread Jean-Christophe Fillion-Robin
Hi Jeff, If you upload a file having extension .url containing the url, it will be associated with your build by presenting a package icon allowing to then open the corresponding link. For more details, see section "File upload" in this article [1] For an example see [2] Hth Jc [1] http://www.