Re: [CMake] Initial C# support (was Re: Adding support for new languages to CMake)

2008-10-20 Thread Mathieu Malaterre
On Fri, Oct 17, 2008 at 7:00 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Friday 17 October 2008, Mathieu Malaterre wrote: ... Quick question, here is how one create executable in C#: SET(CMAKE_CSharp_LINK_EXECUTABLE CMAKE_CSharp_COMPILER FLAGS OBJECTS -out:TARGET.exe

[CMake] link_libraries

2008-10-20 Thread Ioan Calin Borcoman
Hi, I have a dir with a lot of small example apps that all link with the same libs. The link_libraries is much more convenient in this case than writing a target_link_libraries line for each example target. Why is the link_libraries deprecated? Will it be removed in the future? Thanx. Ionutz

Re: [CMake] link_libraries

2008-10-20 Thread Hendrik Sattler
Ioan Calin Borcoman schrieb: Hi, I have a dir with a lot of small example apps that all link with the same libs. The link_libraries is much more convenient in this case than writing a target_link_libraries line for each example target. Why is the link_libraries deprecated? Will it be

[CMake] install CMake on Win 64-bit

2008-10-20 Thread Stéphane CALANDE
Hi, I'd like to know which file do I have to download in order to install CMake on Windows 64-bit ? I have searched on the Internet but I didn't find the file I need. Thank you very much in advance, Stéphane ___ CMake mailing list CMake@cmake.org

Re: [CMake] Adding non-file dependencies to a custom target

2008-10-20 Thread Giampiero Salvi
Giampiero Salvi wrote: ADD_CUSTOM_TARGET(maintgt ALL DEPENDS ${EXECUTABLE_OUTPUT_PATH}/synface${CMAKE_EXECUTABLE_SUFFIX} The last line should be: DEPENDS ${EXECUTABLE_OUTPUT_PATH}/maintgt${CMAKE_EXECUTABLE_SUFFIX} Giampiero ___ CMake mailing list

Re: [CMake] Initial C# support (was Re: Adding support for new languages to CMake)

2008-10-20 Thread Mathieu Malaterre
Just FYI, On Mon, Oct 20, 2008 at 11:30 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Fri, Oct 17, 2008 at 7:00 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Friday 17 October 2008, Mathieu Malaterre wrote: ... Quick question, here is how one create executable in C#:

Re: [CMake] install CMake on Win 64-bit

2008-10-20 Thread Stéphane CALANDE
I found : Changes in CMake 2.6.1 RC 16 (...) - Fix InstallRequiredSystemLibraries.cmake to work with win64 on https://lists.secondlife.com/pipermail/sldev/2008-August/011251.html; but I still don't understand how to install CMake on Win 64-bit Can you help me please ? Thank you very much,

Re: [CMake] install CMake on Win 64-bit

2008-10-20 Thread Hendrik Sattler
Stéphane CALANDE schrieb: but I still don't understand how to install CMake on Win 64-bit Can you help me please ? Download the source and compile it? I don't have Win64 but AFAIK, Visual Studio Express also works there and can be used to compile cmake. HS

Re: [CMake] install CMake on Win 64-bit

2008-10-20 Thread Bill Hoffman
Hendrik Sattler wrote: Stéphane CALANDE schrieb: but I still don't understand how to install CMake on Win 64-bit Can you help me please ? Download the source and compile it? I don't have Win64 but AFAIK, Visual Studio Express also works there and can be used to compile cmake. There is no

Re: [CMake] install CMake on Win 64-bit

2008-10-20 Thread Stéphane CALANDE
Thank you for your quick responses. I haven't used Visual Studio yet. Bill, do you mean I can download cmake-2.6.2-win32-x86.exehttp://www.cmake.org/files/v2.6/cmake-2.6.2-win32-x86.exe from http://www.cmake.org/cmake/resources/software.html; and that I can use this executable to install CMake ?

Re: [CMake] mixed java/c project.

2008-10-20 Thread George Neill
Mathieu, On Mon, Oct 20, 2008 at 4:06 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Sat, Oct 18, 2008 at 7:48 PM, George Neill [EMAIL PROTECTED] wrote: Hi All, On Sat, Oct 18, 2008 at 2:01 AM, George Neill [EMAIL PROTECTED] wrote: Hi all, I am trying to convert a project to cmake

Re: [CMake] install CMake on Win 64-bit

2008-10-20 Thread Bill Hoffman
Stéphane CALANDE wrote: Thank you for your quick responses. I haven't used Visual Studio yet. Bill, do you mean I can download cmake-2.6.2-win32-x86.exe http://www.cmake.org/files/v2.6/cmake-2.6.2-win32-x86.exe from http://www.cmake.org/cmake/resources/software.html; and that I can use this

Re: [CMake] mixed java/c project.

2008-10-20 Thread Mathieu Malaterre
On Sat, Oct 18, 2008 at 7:48 PM, George Neill [EMAIL PROTECTED] wrote: Hi All, On Sat, Oct 18, 2008 at 2:01 AM, George Neill [EMAIL PROTECTED] wrote: Hi all, I am trying to convert a project to cmake which has mixed java and c compilations. Here's the project layout, project/ -

[CMake] Visual Studio: Add file to project without compiling it

2008-10-20 Thread Matthias Riechmann
Hello, I'd like to make CMake including a file in way so that it is visible in a generated visual studio project and can be edited in this way, but is not processed by the compiler. The reason I need this is as followed: I have some CORBA IDL files that I'd like to process using a custom

Re: [CMake] CPack NSIS installer requires CPACK_PACKAGE_EXECUTABLES entry?

2008-10-20 Thread David Cole
Thanks for the bug reports. I've assigned them to myself. Further comments will appear as notes directly in the issues themselves. Thanks, David On Sun, Oct 19, 2008 at 3:17 AM, Sam Baker [EMAIL PROTECTED]wrote: I created a new issue for the bug:

Re: [CMake] Random BAD_COMMAND error when running CTest

2008-10-20 Thread David Cole
Another common source of apparently random results is uninitialized variables. I don't think it is in ctest itself, as this is the first we've heard of something like this on this mailing list (although anything's possible...) Have you run your test code through valgrind to see if it catches any

[CMake] Adding non-file dependencies to a custom target

2008-10-20 Thread Giampiero Salvi
Hi, I have a large project that includes a number of sub targets (subtgt1 subtgt2...) each generating both linked libraries and tcl files (each sub target generates several files). The project also includes a main custom target maintgt that wraps the libs+tcl files into one executable using a

Re: [CMake] mixed java/c project.

2008-10-20 Thread George Neill
Mathieu, On Mon, Oct 20, 2008 at 4:06 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Sat, Oct 18, 2008 at 7:48 PM, George Neill [EMAIL PROTECTED] wrote: Hi All, On Sat, Oct 18, 2008 at 2:01 AM, George Neill [EMAIL PROTECTED] wrote: Hi all, I am trying to convert a project to cmake

Re: [CMake] CMAKE_INSTALL_PREFIX not working in Visual Studio

2008-10-20 Thread David Cole
How are you configuring? With a CMake GUI or a command line tool? If with a gui, set the CMAKE_INSTALL_PREFIX in the gui. If with a command line tool, pass -DCMAKE_INSTALL_PREFIX:STRING=/blah on the command line. To workaround this entirely, invent your own CMake variable that CMake knows

Re: [CMake] Simple CPack example is needed...

2008-10-20 Thread Eric Noulard
2008/10/20 Dick Munroe [EMAIL PROTECTED]: And once I keep CPack.make from clobbering CPACK_INSTALL_CMAKE_PROJECTS I get kits built as well. Here's something simple you can try to see the problem: project(foo) ... set(

Re: [CMake] Visual Studio: Add file to project without compiling it

2008-10-20 Thread Eric Noulard
2008/10/20 Matthias Riechmann [EMAIL PROTECTED]: Hello, I'd like to make CMake including a file in way so that it is visible in a generated visual studio project and can be edited in this way, but is not processed by the compiler. Yes I think this issue is coming out more and more. I've just

[CMake] Setting install_name on Mac OSX 10.5

2008-10-20 Thread Gerrick Bivins
Hello all, I¹m trying to use swig (SWIG_ADD_MODULE, SWIG_LINK_LIBRARIES) to generate java bindings for a library (contains a couple of sub libraries, similar to VTK¹s setup). I haven¹t been able to load the generated shared libraries. There were a couple of issues: 1. My jvm won¹t load shared

Re: [CMake] Setting install_name on Mac OSX 10.5

2008-10-20 Thread Michael Jackson
I can suggest all sorts of ways to set the install_name of the libraries BUT I would rather figure out _why_ the swig generated libraries are getting the ../../lib prefix in the first place. I don't have any experience with swig so I can only guess at this point. Does swig have its own

Re: [CMake] Setting install_name on Mac OSX 10.5

2008-10-20 Thread Gerrick Bivins
Hi Mike, The generated jni libraries have no prefix and the .so suffix. I can only find two macros defined for swig but that could be just be my ignorance: SWIG_ADD_MODULE(name language interfacefile) == generate a module named name for language language given the swig interface file

[CMake] Mac OS X frameworks

2008-10-20 Thread Tron Thomas
I tried posting this question earlier, and I never saw it. It could be that I posted before I was fully added to the mailing list. Anyway, I've been trying to look into what it would take to build a Mac OS X framework using CMake to configure the build system, and it is unclear to me how well

[CMake] makefile environment variables

2008-10-20 Thread Daniel Stonier
Is there any means of getting cmake to insert an environment variable into the makefiles it generates? I know you can do the following: SET(ENV{PATH} /opt/eldk/usr/bin/ccache:/opt/eldk/usr/bin:$ENV{PATH}) SET(ENV{CROSS_COMPILE} ppc_4xxFP-) and this is sometimes useful for getting cmake to do