Re: [CMake] Order of compilation of Java files

2012-03-12 Thread Andreas Pakulat
On 12.03.12 08:42:44, Kedzierski, Artur CIV NSWC Corona, PA13 wrote: > Andreas, > > Do you mind sharing a CMakeLists.txt for one of your Java projects? > Thank You. Sorry, thats not possible since its closed source. Andreas -- Powered by www.kitware.com Visit other Kitware open-source projec

Re: [CMake] CMake Linking Error

2012-03-12 Thread Michael Hertling
On 03/08/2012 05:40 PM, buzz clay wrote: > Hi, > > I have not been able to find the answer to my current problem so I thought > I'd try a new post. Before diving into the details, please be aware that > the code I am writing compiles/runs perfectly with a personal Makefile I > wrote. > > My code

Re: [CMake] Operator Precedence

2012-03-12 Thread Michael Hertling
On 03/12/2012 07:32 PM, Robert Dailey wrote: > What is the precedence for logical operators (specifically in IF > conditions)? > > Consider: STREQUAL, AND, OR (plus any others) Documentation of IF(): "...there is a traditional order of precedence. Parenthetical expressions are evaluated first fo

Re: [CMake] Defer compiler to different file in Visual Studio

2012-03-12 Thread Andreas Haferburg
Bill, thank you for your replies. I'll be writing a macro for Visual Studio then which finds the corresponding cpp file and compiles it. Cheers Andreas On 12-Mar-12 10:26 PM, Bill Hoffman wrote: On 3/12/2012 5:00 PM, Andreas Haferburg wrote: Yea, that's pretty much what I've got so far. An

Re: [CMake] SWIG python3

2012-03-12 Thread Matthias Fulz
Ok the error is related to my arch linux. Cmake can't find python 3.2 because the lib is named "libpython3.2mu". Does anybody know about this and perhaps has a solution? On Mon, 2012-03-12 at 22:52 +0100, Matthias Fulz wrote: > Hi, > > I'm trying basic examples for using SWIG to generate python e

[CMake] SWIG python3

2012-03-12 Thread Matthias Fulz
Hi, I'm trying basic examples for using SWIG to generate python extensions for c++: cmake_minimum_required(VERSION 2.8) FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE}) FIND_PACKAGE(PythonLibs) INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH}) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) S

Re: [CMake] Defer compiler to different file in Visual Studio

2012-03-12 Thread Bill Hoffman
On 3/12/2012 5:00 PM, Andreas Haferburg wrote: Yea, that's pretty much what I've got so far. And yes, I realize that's the way it's *supposed* to be set up. ;) I've posted my CMakeLists.txt here if you want to have a look: http://stackoverflow.com/a/9669388/872616 The only time I would really li

Re: [CMake] Defer compiler to different file in Visual Studio

2012-03-12 Thread Andreas Haferburg
On 12-Mar-12 9:36 PM, Bill Hoffman wrote: On 3/12/2012 3:28 PM, Andreas Haferburg wrote: Hello, I'm currently evaluating Lazy C++ [1], which generates both header and source files. I'm using add_custom_command() to invoke the generator on *.lzz file, and for each .lzz file it generates one .hpp

Re: [CMake] Defer compiler to different file in Visual Studio

2012-03-12 Thread Bill Hoffman
On 3/12/2012 3:28 PM, Andreas Haferburg wrote: Hello, I'm currently evaluating Lazy C++ [1], which generates both header and source files. I'm using add_custom_command() to invoke the generator on *.lzz file, and for each .lzz file it generates one .hpp file and one .cpp file. What I'm missing i

Re: [CMake] Q: cmExportFileGenerator::GenerateImportedFileCheckLoop

2012-03-12 Thread Alexander Neundorf
On Monday 12 March 2012, Mathieu Malaterre wrote: > Hi there, > > CMake 2.8.7 recently added a new behavior when reading export files: > > http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a2be068c > > I perfectly understand the goal here, I think this is a great user > functionality. Howev

[CMake] Defer compiler to different file in Visual Studio

2012-03-12 Thread Andreas Haferburg
Hello, I'm currently evaluating Lazy C++ [1], which generates both header and source files. I'm using add_custom_command() to invoke the generator on *.lzz file, and for each .lzz file it generates one .hpp file and one .cpp file. What I'm missing is the ability to compile the file I'm curren

Re: [CMake] Triggers for isysroot

2012-03-12 Thread P. Martin
On Mar 11, 2012, Michael Wild wrote: > > I think it depends on what you set it to. If it's the default SDK, it > doesn't get included. It could also be that the > CMAKE_OSX_DEPLOYMENT_TARGET variable plays into this. > > Sadly, my Mac died quiet some time ago, so I can't check right now... > >

[CMake] Operator Precedence

2012-03-12 Thread Robert Dailey
What is the precedence for logical operators (specifically in IF conditions)? Consider: STREQUAL, AND, OR (plus any others) Thanks in advance. - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html P

Re: [CMake] Order of compilation of Java files

2012-03-12 Thread Kedzierski, Artur CIV NSWC Corona, PA13
Andreas, Do you mind sharing a CMakeLists.txt for one of your Java projects? Thank You. -- Artur Kedzierski -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Andreas Pakulat Sent: Thursday, March 08, 2012 8:33 To: cmake@cmake.org Subject: R