[CMake] imported lib properties...

2009-03-14 Thread Asmodehn Shade
Hi all, I am currently converting my old cmake 2.4 scripts to cmake 2.6.3, as I am enjoying the new possibilities offered by the export / import system I previously implemented my self a little dirty workaround this limitation... so I am pretty happy to see this coming along ;-) Anyway I now am h

Re: [CMake] imported lib properties...

2009-03-24 Thread Asmodehn Shade
each other... I have a question related to that but I ll post it in a new thread... Thanks anyway, -- Alex 2009/3/16 Brad King > Asmodehn Shade wrote: > >> I am currently converting my old cmake 2.4 scripts to cmake 2.6.3, as I am >> enjoying the new possibilities offered

[CMake] Exporting imported target

2009-03-24 Thread Asmodehn Shade
Hi, I am assuming it is at the moment (cmake 2.6.2 ) not possible to export an imported target... When I do : # ${MyProject_EXPORT_CMAKE} contains the file path to a cmake script generated by export, # declaring ADD_LIBRARY(MyProject SHARED IMPORTED) ( among other stuff ) include(${MyProject_EXP

Re: [CMake] Exporting imported target

2009-03-24 Thread Asmodehn Shade
Ha, ok I see I was thinking of this the wrong way... Thanks a lot :-) -- Alex 2009/3/25 Brad King > Andreas Pakulat wrote: > >> The easiest way to achieve what you want (having targets of >> projectB+projectC available to projectA) is by having the >> FindProjectB.cmake file simply do a fi

[CMake] Modules standardization...

2009-08-05 Thread Asmodehn Shade
Hi, First sorry if this has been addressed in the past but I could find any reference to it... I am using a Module FindFoo.cmake. I know I am expecting it to set FOO_FOUND and other variables such as FOO_INCLUDE_DIR, FOO_LIBRARIES, etc. My question is : what is the exact operation that I should

[CMake] Tricky problem with variable, whitespace, quotes and shell

2009-08-06 Thread Asmodehn Shade
Hi everyone, Sorry if this has been answered before, but google doesnt give me anything useful... Lets say I have a list of source files : SOURCES holds : filea.c;fileb.c I want to pass them to an external program ( Astyle for example ) so I need to have a whitespace separated list there fore I

Re: [CMake] Tricky problem with variable, whitespace, quotes and shell

2009-08-06 Thread Asmodehn Shade
exV ... puzzled... 2009/8/6 Asmodehn Shade > Hi everyone, > > Sorry if this has been answered before, but google doesnt give me anything > useful... > > Lets say I have a list of source files : SOURCES holds : filea.c;fileb.c > I want to pass them to an external program ( Asty

Re: [CMake] Tricky problem with variable, whitespace, quotes and shell

2009-08-11 Thread Asmodehn Shade
ALL sh -c ${cmdline} VERBATIM ) the sh -c runs another shell who can now evaluate the command in quotes completely without being annoyed by the quotes in there... Seems to work fine so far... Hope this post will be useful to others ;-) -- AlexV 2009/8/7 Tyler Roscoe On Thu, Aug 06, 2009 at 08

Re: [CMake] Build only what you need in third party libs

2009-12-22 Thread Asmodehn Shade
Hi Brian, all While I have no experience in building boost and dcmtk at all, I have been writing a cmake based build framework for my own projects for quite some time now ( since cmake 2.2), because I was always using cmake in the same way, and I eventually needed to build different (little) proj

[CMake] Fwd: Build only what you need in third party libs

2009-12-22 Thread Asmodehn Shade
Thanks guys, I ll have a look at External Project sometimes too, seems it could make my code a bit simpler. For what it s worth, in my custom build framework, to make things simple I assume a few ( very arguable and arbitrary ) things. Among them : - the source and build folder hierarchy is known

[CMake] working with codeblocks ? without MSVisual ??

2006-01-12 Thread Asmodehn Shade
Hi everyone,I am used to work with Codeblocks... but I made a Cmake scripts for my friends that are using Visual Studio on windows.Now my Cmake script is more advanced than my Codeblocks project, and I was wondering how I can, using cmake, generate a project I can use in codeblocks (even if I dont

[CMake] Lib / Examples cmake sample ?

2006-01-31 Thread Asmodehn Shade
Hi,I am currently working with CMake on a library with some examples...CMakeLists.txttest/CMakeLists.txtI tried to include one in the other, to add_subdirectory(test) in the first, but none of them gives me what I would like. And both projects variable gets confused with the paths...But I am also n

Re: [CMake] VS8 and cmake 2.2.3 [Fwd: RE: [Fwd: visual studio 2005 free version]]

2006-02-02 Thread Asmodehn Shade
Hi all,Just to confirm I have the same problem here... CMake 2.2.3Fresh install of VS8Express + PSDK (option environment variable checked ON). Was able to build the win32 template (from the command line) and run it. I have checked my paths, I can access cl from the command line, I can access cmake

[CMake] Setting up working directory for target

2006-03-05 Thread Asmodehn Shade
Hi everyone,I am wondering how I can set the "Working Directory" of some targets using CMake.Currently SET_TARGET_PROPERTIES doesnt seem to know about it (from the doc on the web) does it ? I just need it to be able to run my teststuff.exe from the right directory using VS for debug, and not from s

Re: [CMake] Setting up working directory for target

2006-03-08 Thread Asmodehn Shade
debugging it.At the moment I copy /data/* in /Debug/data/, and maybe it s actually the best way, dont know. I was wondering if somebody had already thought about it...2006/3/7, William A. Hoffman <[EMAIL PROTECTED]>: At 10:15 PM 3/5/2006, Asmodehn Shade wrote:>Hi everyone,>>I am won

[CMake] FIND_PACKAGES and Modules... How to make the development environment more easy to setup ?

2006-03-10 Thread Asmodehn Shade
Hi all,Just a little question and getting feedback for a feature request ;-)At the moment (CMake 2.2.3) the Find*.cmake modules are looking into a bunch of different directories to support different OSes, and those directories are also different for each package... To install libraries to be correc

[CMake] XML parsing ?

2006-03-11 Thread Asmodehn Shade
Hi,I am wondering if it is currently possible using CMake to parse an XML file...I would like to include the SVN revision number in the target name somehow, and I would need to get it from the .svn/entries file I guess... Any idea how to do that ?Cheers,

Re: [CMake] autoconf: Does it meet these cross-platform goals?

2006-04-03 Thread Asmodehn Shade
Hi all,Thats a good news the nullsoft installer feature in CPack,  really ;-)I am looking forward to the next release ;-)>No.  CMake is not a package management system.  I don't see any reasonable way that it could do that cross-platform.  Consider how many package management systems are available

[CMake] CMake CVS build on BSDs

2006-04-25 Thread Asmodehn Shade
Hi,I am trying to build the last CMake from CVS on NetBSD.I checked out the source from CVS, and run the bootstrap scriptIt worked fine. ( I can provide the cmd output if needed )Then I run gmake, and I get some undefined references when trying to link ccmake in libcmForm.a :Linking CXX executable

[CMake] Problem Finding OpenGL on BSD...

2006-05-26 Thread Asmodehn Shade
Hi everyone :) I am at last enjoying new 2.4 feature on BSD :D many thanks to all those who made that possible. I am using Cmake to find few dependencies for some personal projects. I setup correctly the CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH to get all my SDL_* dependencies found and workin

[CMake] Writing cmake files for modules

2006-06-26 Thread Asmodehn Shade
Hi,I am writing a small set of libraries, and I like to use cmake to detect and configure them.I am still a bit lost among the possibility, and I was wondering what is the right way to do it.Let say I have libA and libB, with A depending on B, and B can be built with different options. From what I

Re: [CMake] emulating `make check' behaviour

2006-08-15 Thread Asmodehn Shade
Hello, In my case I am using a simple variable BUILD_TESTS in the CMake build to generate or not the tests targets. after that : > ccmake > make > ctest There is a problem though, but not that important for me : I need to rerun ccmake to change the value for the BUILD_TESTS variable. But I don

[CMake] CMake and profiling...

2007-03-13 Thread Asmodehn Shade
Hi everyone, I am currently in the process of starting to profile my software. It builds with cmake on unix, linux, and windows, more or less nicely ;) Assuming that I only want to use g++ with gprof right now, I wonder if there was a way to do that smartly in CMake, other than resetting the CXX_

Re: [CMake] CMake and profiling...

2007-03-14 Thread Asmodehn Shade
in/Project -L/path_to_libs -lusedlibs -lpthread -Wl,-rpath,/path_to_libs Thanks again for the help ! -- Asmodehn On Tue, 13 Mar 2007 22:17:31 + Filipe Sousa <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Brandon J. Van Every wrote: >

Re: [CMake] CMake and profiling...

2007-03-15 Thread Asmodehn Shade
ECTED]> wrote: > Asmodehn Shade wrote: > > Using CMake 2.4.2 on NetBSD 4.0, my command line looks like : > > > > Why don't you try updating to CMake 2.4.6? > > > Cheers, > Brandon Van Every > > ___ &

[CMake] heads up on convenience lib ? and a problem on source files with similar names...

2007-05-08 Thread Asmodehn Shade
Hello everyone, I've seen in the FAQ and mailing list, that CMake doesnt support convenience libraries right now. I was trying to set up a set of cmake files to help in builds, when the directory hierarchy is already decided. Anyway I gave up my ideas of having convenience libraries for now. So

[CMake] Re: heads up on convenience lib ? and a problem on source files with similar names...

2007-05-09 Thread Asmodehn Shade
On Wed, 9 May 2007 00:48:25 +0200 Asmodehn Shade <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I've seen in the FAQ and mailing list, that CMake doesnt support convenience > libraries right now. > I was trying to set up a set of cmake files to help in builds, when

[CMake] Adding multiple times the same target. How to make it clean ?

2007-06-12 Thread Asmodehn Shade
Hi everyone, I have been using cmake for quite a while now. I am using 2.4.6 on NetBSD. Among other things I do a dependency build automatically, based on a well-known directory tree. For example lets say you have : CMakeLists.txt Source1.c depends/subprojA/ depends/subprojA/CMakeLists.txt - de

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-10 Thread Asmodehn Shade
Hello, I just had this happening with CMake 2.8.10 ( from a recent macports ) and with XCode 4.5.2. I built the step1 tutorial in its source dir : bash-3.2$ cmake -G XCode .^M -- The C compiler identification is Clang 4.1.0^M -- The CXX compiler identification is Clang 4.1.0^M -- Check for workin

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-13 Thread Asmodehn Shade
2013/1/11 Bill Hoffman > On 1/11/2013 2:09 AM, Asmodehn Shade wrote: > >> Hello, >> >> I just had this happening with CMake 2.8.10 ( from a recent macports ) >> and with XCode 4.5.2. >> I built the step1 tutorial in its source dir : >> >> b

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-13 Thread Asmodehn Shade
2013/1/14 Asmodehn Shade > 2013/1/11 Bill Hoffman > >> On 1/11/2013 2:09 AM, Asmodehn Shade wrote: >> >>> Hello, >>> >>> I just had this happening with CMake 2.8.10 ( from a recent macports ) >>> and with XCode 4.5.2. >>> I built th

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-14 Thread Asmodehn Shade
build changes from Debug/ to Debug-iphoneos/ This seems to confuse cmake 2.8.10 paths ( but is fine with cmake 2.8.9 ) Let me know if you need anything else, -- AlexV 2013/1/15 Brad King > On 01/13/2013 09:37 PM, Asmodehn Shade wrote: > > bash-3.2$ xcodebuild Tutorial.

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-21 Thread Asmodehn Shade
you, -- AlexV 2013/1/15 Asmodehn Shade > Hello, > > I managed to reproduce the problem with the simple HelloWorld given by > Nicholas a bit earlier in this thread, with a slight modification. > The problem seems to come from : *set(CMAKE_OSX_SYSROOT iphoneos6.0)* > > J

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-27 Thread Asmodehn Shade
:-) Sadly, I don't think I'll have more time to invest in this right now... Thanks a lot for the help ! -- AlexV 2013/1/24 Brad King > On 01/21/2013 08:59 PM, Asmodehn Shade wrote: > > Is there any news on that ? > > Sorry, I had this on my todo list to try to reproduce