Re: [CMake] Having problems getting started

2008-03-02 Thread Daniel
Arlen Cox wrote: Thanks Mike. That was exactly what I was looking for. -Arlen On Fri, Feb 29, 2008 at 11:20 AM, Mike Jackson [EMAIL PROTECTED] wrote: You may want to look at the file(GLOB variable [RELATIVE path] [globbing expressions]...) or file(GLOB_RECURSE variable [RELATIVE path]

Re: [CMake] check_include_file macro

2008-03-02 Thread Steven Van Ingelgem
Would it solve my problem if (in my case) I set HAS_UUID_H to NOTFOUND? On 02/03/2008, Bill Hoffman [EMAIL PROTECTED] wrote: Steven Van Ingelgem wrote: The use case here is more like: - run CMake: check_include_file(uuid/uuid.h HAS_UUID_H) if(not HAS_UUID_H) -- Fatal error +

Re: [CMake] Having problems getting started

2008-03-02 Thread blinkeye
I guess the following would suit your needs too: # AUX_SOURCE_DIRECTORY: Find all source files in a directory. AUX_SOURCE_DIRECTORY(dir VARIABLE) Collects the names of all the source files in the specified directory and stores the list in the variable provided. This command is intended

Re: [CMake] CMake and Lua

2008-03-02 Thread James Mansion
Bill Hoffman wrote: James Mansion wrote: So, C++ is the language we picked/like. You are welcome to contribute one in C++. Imagine if you could develop generators (I assume that is what you mean by emitters) in any language! You wouldn't even be able to share them. Bill, I like C++ as much

Re: [CMake] CMake and Lua

2008-03-02 Thread Bill Hoffman
James Mansion wrote: Bill Hoffman wrote: James Mansion wrote: So, C++ is the language we picked/like. You are welcome to contribute one in C++. Imagine if you could develop generators (I assume that is what you mean by emitters) in any language! You wouldn't even be able to share them.

Re: [CMake] check_include_file macro

2008-03-02 Thread Bill Hoffman
Steven Van Ingelgem wrote: Would it solve my problem if (in my case) I set HAS_UUID_H to NOTFOUND? No, I could not find a way to remove or change the cache entry. If you want to use a compiler check like this, you option would be to copy the check_include_file macro into your project and

Re: [CMake] CMake and Lua

2008-03-02 Thread Sebastien BARRE
At 3/2/2008 09:10 AM, James Mansion, wrote: If I have a project that is largely in a more convenient language - whether Java or Python or C# (or even Lua) - and it has material components in C++ for performance or reuse reasons, then it is clearly reasonable to ship something that can make a

Re: [CMake] CMake and Lua

2008-03-02 Thread Brandon Van Every
On Sun, Mar 2, 2008 at 9:10 AM, James Mansion [EMAIL PROTECTED] wrote: Well, I suppose you don't have to use CMake. Perhaps scons would be a better fit for your tastes. In a Python-based system, yes. But if I have a C++ code and a variety of value added components aimed at

RE: [CMake] CMake and Lua = DSL!?

2008-03-02 Thread Reinhold
Hello everyone, Sorry for the quick interruption, but somehow I have the feeling this discussion will start again and again and again, if it has ever appeared to end. Here are my two cents... IMHO there might be a misunderstanding concerning Kitware's CMake strategy: It is a domain specific

[CMake] CMake and Lua = DSL!?

2008-03-02 Thread Brandon Van Every
On Sun, Mar 2, 2008 at 2:30 PM, Reinhold [EMAIL PROTECTED] wrote: Hello everyone, Sorry for the quick interruption, but somehow I have the feeling this discussion will start again and again and again, if it has ever appeared to end. Here are my two cents... IMHO there might be a

[CMake] PKG installer on Mac

2008-03-02 Thread Steven Van Ingelgem
Hi, I have created a CPack installation via make package... It's like 3M big, when I run the installation wizard, I select a different directory, and the wizard says it'll take 8M on my hard drive... I install it, but it creates just usr/bin (the directories) inside the destination directory...

[CMake] CodeBlocks generator issues

2008-03-02 Thread Félix C. Morency
Hi, I just discovered that CMake SVN (future 2.6.0) currently supports CodeBlocks project generation. I gave it a try and the result seems promising. I've been able to successfully compile my project under CodeBlocks 8.02. However, running the program (which is a command line program) from

[CMake] Raven, Antwrap, Buildr

2008-03-02 Thread Brandon Van Every
http://raven.rubyforge.org/ O'Reilly OnJava.com has a recent article introducing Raven, a JRuby based build tool for Java. http://www.onjava.com/pub/a/onjava/2007/12/05/introducing-raven-an-elegant-build-for-java.html The article is very intro. It doesn't demonstrate any payoffs for using Ruby

[CMake] Re: Raven, Antwrap, Buildr

2008-03-02 Thread Brandon Van Every
On Sun, Mar 2, 2008 at 7:29 PM, Brandon Van Every [EMAIL PROTECTED] wrote: http://www.onjava.com/pub/a/onjava/2007/12/05/introducing-raven-an-elegant-build-for-java.html The comments following this article are interesting. For instance, on syntax: This is just stupid. The Ruby syntax is

[CMake] Re: Raven, Antwrap, Buildr

2008-03-02 Thread Brandon Van Every
On Sun, Mar 2, 2008 at 7:46 PM, Brandon Van Every [EMAIL PROTECTED] wrote: On Sun, Mar 2, 2008 at 7:29 PM, Brandon Van Every [EMAIL PROTECTED] wrote: http://www.onjava.com/pub/a/onjava/2007/12/05/introducing-raven-an-elegant-build-for-java.html The comments following this article are

Re: [CMake] CodeBlocks generator issues

2008-03-02 Thread Philip Lowman
On Sun, Mar 2, 2008 at 7:06 PM, Félix C. Morency [EMAIL PROTECTED] wrote: Hi, I just discovered that CMake SVN (future 2.6.0) currently supports CodeBlocks project generation. I gave it a try and the result seems promising. I've been able to successfully compile my project under CodeBlocks

Re: [CMake] Converting a VS Build to CMake/Problems with Post-Build steps, questions

2008-03-02 Thread Philip Lowman
On Fri, Feb 29, 2008 at 5:53 AM, Anteru [EMAIL PROTECTED] wrote: Problems: * I want to name my debug libraries with a trailing 'd'. I use SET_TARGET_PROPERTIES(MyTarget PROPERTIES DEBUG_POSTFIX d) to do this. However, MyTarget is a unit-test runner and I want to execute it using

[CMake] Re: Raven, Antwrap, Buildr

2008-03-02 Thread Brandon Van Every
On Sun, Mar 2, 2008 at 9:22 PM, Brandon Van Every [EMAIL PROTECTED] wrote: On Sun, Mar 2, 2008 at 7:29 PM, Brandon Van Every [EMAIL PROTECTED] wrote: http://incubator.apache.org/buildr/ A review of Buildr http://danielroop.com/blog/2007/08/25/buildr-review/#more-50 Says that Buildr is

Re: Re: [CMake] How to build a library divided in many directories ?

2008-03-02 Thread packadal
Thanks for the fast answers :) I can't seem to use this solution, as i have different files that I include or not, depending on the platform. So i guess the good way would be to link all this together. Here's where I'm stuck : I try to use TARGET_LINK_LIBRARIES to in the darkness bind them