Re: [CMake] Use CMake to create C# project

2010-04-27 Thread Andreas Roth
Thanks for your response David. I was afraid that their is no great interest in getting C# to work with CMake. What would be required to add C# as a native language to CMake? Can anyone give me some hints how this could be done? A n example or how-to would be great. The other way would be to u

Re: [CMake] Yet another install() vs. exclude_from_all thread

2010-04-27 Thread Michael Hertling
On 04/27/2010 04:21 PM, Hendrik Sattler wrote: > Am Dienstag 27 April 2010 14:42:18 schrieb Michael Hertling: >> On 04/27/2010 10:31 AM, Daniel Hornung wrote: >>> On 2010-04-27 9:24, Daniel Hornung wrote: And indeed "make install ${some_name}" compiles those targets fine but does not inst

[CMake] making a jar from swig-generated jni library

2010-04-27 Thread Simmons, Aaron
I am using swig in cmake to create a JNI wrapper around a C++ library. Everything is working fine, however I would like to jar up all the swig-generated java files. I'm not sure how to do it. My project looks more or less like this: cmake_minimum_required(VERSION 2.8) project(m

Re: [CMake] ExternalProjects: How do ExternalProject_add and ExternalProject_Add_Step interact?

2010-04-27 Thread David Cole
On Fri, Apr 23, 2010 at 1:11 PM, Luigi Calori wrote: > There is some info at > http://www.kitware.com/products/archive/kitware_quarterly1009.pdf > > based on that I thought it was enouth do depend upon just the install in > your case... > Luigi is correct: it should be sufficient to list "DEPEND

Re: [CMake] i386 compiling on OSX Snow Leopard

2010-04-27 Thread Sean McBride
On Tue, 27 Apr 2010 10:50:11 -0400, Dan Gregory said: >I have been trying to compile the google gears library on snow leopard >and have run into some issues.  Based on other emails from this list and >the bug report http://www.itk.org/Bug/view.php?id=9466 I thought that >this line should force 32b

Re: [CMake] Use CMake to create C# project

2010-04-27 Thread David Cole
There is a low priority feature request in the issue tracker: http://public.kitware.com/Bug/view.php?id=7918 However, I am not aware of any serious funding for any such effort on the horizon. So it is unlikely to be going in anytime soon unless somebody steps up to the plate with a plan and a che

[CMake] i386 compiling on OSX Snow Leopard

2010-04-27 Thread Dan Gregory
I have been trying to compile the google gears library on snow leopard and have run into some issues.  Based on other emails from this list and the bug report http://www.itk.org/Bug/view.php?id=9466 I thought that this line should force 32bit compiling, but it doesn't seem to work. set(CMAKE_OSX_A

Re: [CMake] Yet another install() vs. exclude_from_all thread

2010-04-27 Thread Daniel Hornung
On 2010-04-27 14:42, Michael Hertling wrote: > Are you sure this behaviour isn't the expected one? > > "make install" w.r.t. targets means: > > 1) Build any target that "install" depends on, especially "all", >but right not the excluded-from-all targets, and afterwards, > 2) install any target

Re: [CMake] Unit tests, but not CTest

2010-04-27 Thread Tyler Roscoe
On Tue, Apr 27, 2010 at 02:47:18PM +0100, Magnus Therning wrote: > Except of course that it will take away one of the things I *really* > want, which is that all unit tests are run every time I compile. We run our unit tests with a python wrapper script that does some environment configuration bef

Re: [CMake] Yet another install() vs. exclude_from_all thread

2010-04-27 Thread Hendrik Sattler
Am Dienstag 27 April 2010 14:42:18 schrieb Michael Hertling: > On 04/27/2010 10:31 AM, Daniel Hornung wrote: > > On 2010-04-27 9:24, Daniel Hornung wrote: > >> And indeed "make install > >> ${some_name}" compiles those targets fine but does not install them. > > > > Addendum: I just found that tho

Re: [CMake] Unit tests, but not CTest

2010-04-27 Thread Magnus Therning
On Mon, Apr 26, 2010 at 20:56, Alexander Neundorf wrote: > On Friday 23 April 2010, Magnus Therning wrote: >> 2010/4/23 Adolfo Rodríguez Tsouroukdissian > : >> > On Fri, Apr 23, 2010 at 5:56 PM, Magnus Therning >> > >> > wrote: >> >> On Fri, Apr 23, 2010 at 16:35, Tyler Roscoe wrote: >> >> > On

Re: [CMake] Yet another install() vs. exclude_from_all thread

2010-04-27 Thread Michael Hertling
On 04/27/2010 10:31 AM, Daniel Hornung wrote: > On 2010-04-27 9:24, Daniel Hornung wrote: >> And indeed "make install >> ${some_name}" compiles those targets fine but does not install them. > > Addendum: I just found that those targets are only installed if they exist > already when the "all" targ

Re: [CMake] Is there any tools avaiable to translate VC project files(*.vcproj, *.sln) to CMakeLists.txt?

2010-04-27 Thread Michael Wild
On 27. Apr, 2010, at 10:38 , yaoyansi wrote: > Hi, all > I often add new code files to my VC project. Before release or subscribe to > svn, I have to regenerate my VC project files with CMake, to make sure every > thing is fine. It is not convenient, and take a lot of my time. So, could you >

Re: [CMake] Yet another install() vs. exclude_from_all thread

2010-04-27 Thread Daniel Hornung
On 2010-04-27 10:41, Hendrik Sattler wrote: > I use the following in > http://gitorious.org/openobex/mainline/blobs/master/apps/CMakeLists.txt: > add_executable ( ${prog} EXCLUDE_FROM_ALL ${${prog}_SOURCES} ) > target_link_libraries ( ${prog} ${${prog}_LIBS} ) > get_target_property ( ${prog}_

[CMake] Is there any tools avaiable to translate VC project files(*.vcproj, *.sln) to CMakeLists.txt?

2010-04-27 Thread yaoyansi
Hi, all I often add new code files to my VC project. Before release or subscribe to svn, I have to regenerate my VC project files with CMake, to make sure every thing is fine. It is not convenient, and take a lot of my time. So, could you tell me is there any tools avaiable to translate VC proje

Re: [CMake] Yet another install() vs. exclude_from_all thread

2010-04-27 Thread Daniel Hornung
On 2010-04-27 9:24, Daniel Hornung wrote: > And indeed "make install > ${some_name}" compiles those targets fine but does not install them. Addendum: I just found that those targets are only installed if they exist already when the "all" target is being installed (which is usually before they are

[CMake] Yet another install() vs. exclude_from_all thread

2010-04-27 Thread Daniel Hornung
Hello everyone! I tried to answer my question from reading the list archives, but it didn't really help. In a project, I have (all in one directory) one main target that should be (and is) built with "make all" and several other targets which are added via add_target(${some_name} EXCLUDE_FROM_ALL

Re: [CMake] CPack PackageMaker Q

2010-04-27 Thread Robert Bielik
Alexander Neundorf skrev: On Sunday 25 April 2010, Robert Bielik wrote: It seems that the CPack PackageMaker generator doesn't (by default) follow the guidelines (seemingly important) of PackageMaker, see f.i. http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html . Is there some resource on how t