Re: [CMake] Has anybody tried to use CMake to build software on the MinGW/MSYS/Wine platform?

2010-04-02 Thread Alan W. Irwin
On 2010-04-02 08:38+0200 Eric Noulard wrote: 2010/4/2 Alan W. Irwin : [..] I feel this platform has revolutionary potential. [...lengthy interesting post ...] May be you two can Wiki-fied your experimental story such that it would be easier to reproduce [and sometimes update] the procedure?

Re: [CMake] Platform file for Bluegene/P ?

2010-04-02 Thread pat marion
The BlueGeneL platform file does indeed add '-lnss_files -lnss_dns -lresolv' to the link line. This should be removed on BlueGene/P. If you use the mpixlcxx wrapper then you don't need to add any extra libraries to the link line. If you want to invoke xlc directly without using the mpi wrapper s

Re: [CMake] Problems with ExternalProject_Add and tar.gz files

2010-04-02 Thread Ben Medina
Thanks. Bug filed: http://www.cmake.org/Bug/view.php?id=10505 On Fri, Apr 2, 2010 at 2:28 PM, Luigi Calori wrote: > I got exactly the same error in doing something similar: > it is the untar phase based on cmake that seem to fail on some kind of tar: > in the untar phase, externalProject uses cma

Re: [CMake] Problems with ExternalProject_Add and tar.gz files

2010-04-02 Thread Luigi Calori
I got exactly the same error in doing something similar: it is the untar phase based on cmake that seem to fail on some kind of tar: in the untar phase, externalProject uses cmake -E tar xvf and this is the part that fail. if I issue the command: >cmake -E tar xzf boost-1.41.0.cmake0.tar.gz or u

Re: [CMake] Extremely noisy cmake output for the MinGW/MSYS/Wine platform

2010-04-02 Thread Alan W. Irwin
On 2010-04-02 15:08-0500 Ryan Pavlik wrote: That noise is all WINE internal messages, nothing really to do with CMake or MinGW. If you used mingw in cross-compile mode on Linux directly, or on Windows directly, you would not see that. I think you must be referring to the fixme stuff from win

[CMake] Problems with ExternalProject_Add and tar.gz files

2010-04-02 Thread Ben Medina
I'm trying to get ExternalProject_Add to work, using a tar.gz file as the source. My experiment thus far is with boost, and my code looks like this: include (ExternalProject) set (boost_libs_to_build program_options) ExternalProject_Add( boost URL http://sodium.resopho

Re: [CMake] Extremely noisy cmake output for the MinGW/MSYS/Wine platform

2010-04-02 Thread Ryan Pavlik
That noise is all WINE internal messages, nothing really to do with CMake or MinGW. If you used mingw in cross-compile mode on Linux directly, or on Windows directly, you would not see that. Ryan On 04/02/2010 01:07 PM, Alan W. Irwin wrote: Here is how I invoke cmake for the MinGW/MSYS/Wine p

Re: [CMake] CPack, TGZ and directory layout

2010-04-02 Thread Tyler Roscoe
On Fri, Apr 02, 2010 at 09:50:59PM +0200, Allan W. Nielsen wrote: > The result of this the the following file: > TEST-0.1.1-Linux/bin/test > > What I would like to achieve is that the directory layout of the > generated tar file is: > > /bin/test > > or maby > > bin/test Look at: set (CPACK_I

[CMake] CPack, TGZ and directory layout

2010-04-02 Thread allan
Hey I'am using Cmake/cpack 2.8.1, and are having some problems controling the directory layout generated by CPack. Following are a short example illustrating my problem: # SNIPIT START (PASTE INTO LINUX CONSOLE) mkdir test cd test cat > test.c << EOF int main(int ac, cha

[CMake] both debug and release recursive

2010-04-02 Thread Brian Budge
Hi all - This is my first post here, so feel free to set me straight if I do/say something dumb. On to my question: I'm setting up a build using cmake where the directory structure looks like this: build app/build app/src project1/build project1/p1lib1 project1/p1lib2 project1/p1lib3 project2/p

[CMake] CPack, TGZ and directory layout

2010-04-02 Thread Allan W. Nielsen
Hey I'am using Cmake/cpack 2.8.1, and are having some problems controling the directory layout generated by CPack. Following are a short example illustrating my problem: # SNIPIT START (PASTE INTO LINUX CONSOLE) mkdir test cd test cat > test.c << EOF int main(int ac, cha

[CMake] FindBoost can not find the library for cross compiling

2010-04-02 Thread Forest Yang
Hi, I am compiling a program on Bluegene, which need Boost. In the toolchain, I have : set(CMAKE_FIND_ROOT_PATH /bgsys/drivers/ppcfloor/ /gpfs/home3/l/lyyang/local/cmake-2.8.1 /gpfs/home3/l/lyyang/bluegene.p /gpfs/home3/l/lyyang/bluegene.p/include /gpfs/home3/l/lyyang/blueg

[CMake] Extremely noisy cmake output for the MinGW/MSYS/Wine platform

2010-04-02 Thread Alan W. Irwin
Here is how I invoke cmake for the MinGW/MSYS/Wine platform for an extremely simple test case (which builds a hello-world library and links a one-line app to it) w...@raven> wine /home/wine/cmake/cmake-2.8.1-win32-x86/bin/cmake cmake \ -G "MSYS Makefiles" \ z:\\home\\software\\plplot_svn/HEAD\\te

Re: [CMake] git too difficult CMake switching to sccs

2010-04-02 Thread Forest Yang
This is a good 4/1 joke ! I just read the PPT talking about CMake/CTest/CDash integrated with Git, and then this post, I was wondering "too difficult" ? give up so quick ? but suddenly I realized .. On Thu, Apr 1, 2010 at 7:18 AM, Bill Hoffman wrote: > After trying git for a while, the CMa

Re: [CMake] target_link_libraries difficulties

2010-04-02 Thread Benoit Thomas
Maybe I'm missing something here, but I don't see with your code sample how I can have both configuration in the same project. From what I understand for CMAKE_BUILD_TYPE, this would work with out-of-source build if I do something like: \root cmakelists.txt directory \ config1 director

[CMake] Platform file for Bluegene/P ?

2010-04-02 Thread Forest Yang
Hi, I need to cross compile code on IBM Bluegene/P, while according to the wikipage on http://www.itk.org/Wiki/CMake_Cross_Compiling I can not find BluegeneP.cmake, but BluegeneL.cmake instead. So I used it and found the following error. Is this nss_dns, nss_files and resolv a required lib ?