Re: [CMake] cmake and dependencies

2009-07-24 Thread schoappied
Tyler Roscoe wrote: On Thu, Jul 23, 2009 at 10:05:35PM +0200, schoappied wrote: The part in the source looks like: # check for libsndfile PKG_CHECK_MODULES(SNDFILE REQUIRED sndfile=1.0.11) IF(NOT SNDFILE_FOUND) MESSAGE(FATAL_ERROR LMMS requires libsndfile1 and libsndfile1-dev =

Re: [CMake] cmake and dependencies

2009-07-24 Thread schoappied
schoappied wrote: Tyler Roscoe wrote: On Thu, Jul 23, 2009 at 10:05:35PM +0200, schoappied wrote: The part in the source looks like: # check for libsndfile PKG_CHECK_MODULES(SNDFILE REQUIRED sndfile=1.0.11) IF(NOT SNDFILE_FOUND) MESSAGE(FATAL_ERROR LMMS requires libsndfile1 and

[CMake] WinCE environment

2009-07-24 Thread Benjamin Köppl
Hi there! At the moment I have to set up the environment for the WinCE Platform. This is very annoying! I could set up the environment to use CMake for WinCE, but there are different compiler problems. These problems are not present under the Visual Stusio 2005 or 2008. So I don't know if I

Re: [CMake] cmake and dependencies

2009-07-24 Thread schoappied
schoappied wrote: schoappied wrote: Tyler Roscoe wrote: On Thu, Jul 23, 2009 at 10:05:35PM +0200, schoappied wrote: The part in the source looks like: # check for libsndfile PKG_CHECK_MODULES(SNDFILE REQUIRED sndfile=1.0.11) IF(NOT SNDFILE_FOUND) MESSAGE(FATAL_ERROR LMMS requires

[CMake] CMake list and Single square brackets

2009-07-24 Thread t m
Hello All, Can anyone explain me why in the 3rd call of message function the following code will return 1 instead of 2 cmake_minimum_required( VERSION 2.6 ) set (_list) set (_list foo;bar)# 2 items list (LENGTH _list _len) message (STATUS _len=${_len})# 2 set (_list) set (_list foo[];bar)#2

Re: [CMake] Factoring out third-party-dependent commands and modules.

2009-07-24 Thread Bill Hoffman
Alpha Omega wrote: Are there any plans to factor language and framework dependent commands out of cmake into plugins ? And modules into separate packages/repository ? To me, the fact that cmake source is infested with toolkit, ide, language names looks quite ugly. What will happen if cmake gains

Re: [CMake] CMake list and Single square brackets

2009-07-24 Thread Tyler Roscoe
On Fri, Jul 24, 2009 at 03:23:24PM +0200, t m wrote: set (_list) set (_list foo;bar)# 2 items list (LENGTH _list _len) message (STATUS _len=${_len})# 2 set (_list) set (_list foo[];bar)#2 items list (LENGTH _list _len) message (STATUS _len=${_len})# 2 set (_list) list(APPEND _list

Re: [CMake] cmake and dependencies

2009-07-24 Thread Tyler Roscoe
First of all, you ask strange questions and I still don't know what you're trying to do. Have you read any tutorials or intros to CMake just to get a general idea of what's going on? On Fri, Jul 24, 2009 at 10:34:10AM +0200, schoappied wrote: Such a command, should it look something like this?

[CMake] Problems with CMake on 64-bit Vista

2009-07-24 Thread Barry Hathaway
I'm having a couple of problems using CMake on a 64-bit Vista system. The first is using the 32-bit binary download of CMake to build vxl. The vxl build tries a number of times to use TRY_RUN. The try (compile) part works, but the run part always fails with message complaining about a bad

Re: [CMake] Problems with CMake on 64-bit Vista

2009-07-24 Thread Bill Hoffman
Barry Hathaway wrote: I'm having a couple of problems using CMake on a 64-bit Vista system. The first is using the 32-bit binary download of CMake to build vxl. The vxl build tries a number of times to use TRY_RUN. The try (compile) part works, but the run part always fails with message

Re: [CMake] CMake list and Single square brackets

2009-07-24 Thread Tyler Roscoe
Make sure you reply to the list so others can help you and for archiving. On Fri, Jul 24, 2009 at 05:33:25PM +0200, t m wrote: Hi Tyler, SET, APPEND doesn't meter. cmake_minimum_required( VERSION 2.6 ) set (_list) list(APPEND _list foo bar)#2 items list (LENGTH _list _len) message

Re: [CMake] Problems with CMake on 64-bit Vista

2009-07-24 Thread Bill Hoffman
Barry Hathaway wrote: Bill, Thanks for you reply. I'm not sure what the problem is with the side-by-side stuff. As for building a 64-bit version I get a bunch of syntax errors starting with: 8C:\cmake-2.6.4\Utilities\cmtar\libtar/libtar.h(66) : error C2143: syntax error : missing ')' before

Re: [CMake] CMake list and Single square brackets

2009-07-24 Thread Bill Hoffman
Tyler Roscoe wrote: LENGTH returns the wrong thing whether you have an unclosed open or closed bracket. I agree that this is a bug. Unless one of the developers chimes in, can you open an issue here: http://public.kitware.com/Bug/ Looks like a bug. -Bill

Re: [CMake] How to pass -D options when compiling assembly files using gcc?

2009-07-24 Thread Alexander Neundorf
On Monday 13 July 2009, Michael Wild wrote: On 13. Jul, 2009, at 10:28, Eric Noulard wrote: 2009/7/12 Marcel Loose lo...@astron.nl: Hi Eric, Thanks, I'll try that tomorrow. Another option that occurred to me today is that, since I'm using gcc to preprocess and compile the assembly

Re: [CMake] pkg-config question

2009-07-24 Thread Alexander Neundorf
On Thursday 23 July 2009, Varga Levente wrote: Hello! Could somebody direct me to or send me an example on how to use the pkg-config finder in cmake. I recently started using cmake as builder tool for my projects and I cannot figure out how to make pkg-config work with cmake. I read the

Re: [CMake] WinCE environment

2009-07-24 Thread Alexander Neundorf
On Friday 24 July 2009, Benjamin Köppl wrote: Hi there! At the moment I have to set up the environment for the WinCE Platform. WinCE support is currently work in progress: http://public.kitware.com/Bug/view.php?id=7919 Alex ___ Powered by

Re: [CMake] problems with cache and findvtk

2009-07-24 Thread Dominik Szczerba
On Thu, 2009-07-23 at 11:51 -0400, David Cole wrote: cmake -C initialcache.cmake is intended to be used once to establish an *initial* cache... Why do you want to do it again later when you already have a cache...? A second call with -C is not the intended use for the -C argument...

Re: [CMake] problems with cache and findvtk

2009-07-24 Thread David Cole
ccmake . does not erase the cache. It would not surprise me if a second -C initialcache.cmake call did erase some cache entries... As I said before, I do not think the -C arg is intended to be used more than once in a given build tree. It doesn't make any sense. Perhaps we should formalize that

Re: [CMake] problems with cache and findvtk

2009-07-24 Thread Dominik Szczerba
On Fri, 2009-07-24 at 17:05 -0400, David Cole wrote: ccmake . does not erase the cache. It would not surprise me if a second -C initialcache.cmake call did erase some cache entries... As I said before, I do not think the -C arg is intended to be used more than once in a given build tree. It