Re: [CMake] CMake 2.8.2 with WindRiver diab compiler dcc.exe/dplus.exe on WinXP: CMake Error: Could not COPY_FILE. while detecting compiler ABI

2010-09-20 Thread Molsen, Hannes
Hi Brad, Hi Alex. I ran CMake with --debug-trycompile on a clean and empty build tree. Not a single file inside that folder. After that I find the generated files testCCompiler.c and CMakeCCompilerABI.c in CMakeFiles/CMakeTmp/. But I also find the file testCCompiler.c.obj and CMakeCCompilerABI.c

[CMake] R: Re: R: Re: CMake CDT generator

2010-09-20 Thread tinau...@libero.it
>You can import once the source directory and additionally multiple build >directories as projects into Eclipse. Yes was already done, I have in CDT my project folder (myproj...@buildproject), having its binary,sr,include folder; it also has a Debug and Release folder, with their own makefile.

[CMake] CMake error while run ./configure in Fedora

2010-09-20 Thread Andi Purwito
Hello masters, please help me to fix this error. I couldn't compile gammu source on my Fedora 13 when running ./configure. Here is the error messages: CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to sele

Re: [CMake] CMake error while run ./configure in Fedora

2010-09-20 Thread Eric Noulard
2010/9/20 Andi Purwito : > Hello masters, please help me to fix this error. > I couldn't compile gammu source on my Fedora 13 when running ./configure. Then it looks like you'd better ask you question to Gammu developers and not CMake. But continue... > Here is the error messages: > > CMake Erro

[CMake] pass compile flags to initial compiler test

2010-09-20 Thread Yngve Inntjore Levinsen
I am trying to use a rather vanilla compiler for my CMake project (Lahey-Fujitsu lf95 fortran compiler). This compiler (or perhaps just the particular version I have available) does only compile 32bit binaries, so on 64bit systems the initial test fails. In order for the test to succeed I need

[CMake] Problem with GNU compilers - difference between "Windows" and "MinGW"

2010-09-20 Thread Arjen Markus
Hello, Alan Irwin and me ran into a rather peculiar problem concerning the use of the GNU compiler suite on Windows. Here is the set-up: - Alan's free_eos project uses the LAPACK and BLAS libraries. - I tested his build system under Windows and to do that I first built BLAS and LAPACK from sour

Re: [CMake] pass compile flags to initial compiler test

2010-09-20 Thread Molsen, Hannes
Hi, Try to SET(CMAKE_C_FLAGS_INIT "...") and SET(CMAKE_CXX_FLAGS_INIT "...") in either your toolchain or platform file, you can add these variables for example in the GUI as well. Hope it helps. I use this in a toolchain file with the diab compiler for VxWorks on Windows and it works pretty go

Re: [CMake] How to avoid the explicit library location when linking with imported library targets

2010-09-20 Thread Brad King
On 09/17/2010 06:49 PM, Pere Mato Vila wrote: > You are completely right, the library I was using to import has > no SONAME field. I know exactly what I am doing wrong. Great. I'm glad you got it working. > Thanks very much for your patience. You're welcome. It paid off for me because I found

Re: [CMake] CMake 2.8.2 with WindRiver diab compiler dcc.exe/dplus.exe on WinXP: CMake Error: Could not COPY_FILE. while detecting compiler ABI

2010-09-20 Thread Brad King
On 09/20/2010 04:45 AM, Molsen, Hannes wrote: > Therefore I don't have a CMAKE_EXECUTABLE_SUFFIX set, because actually I do > not build executables at all. > The real project consists of libraries as "libFramework.a". > The builds of the CMake test files stop after assembly, only object files are

Re: [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-20 Thread Bill Hoffman
On 9/20/2010 12:59 AM, Micha Renner wrote: Here is a small one. INSTALL(FILES ${CMAKE_BINARY_DIR}/CTest.conf DESTINATION /usr/local) always results in this warning: 1> -- Install configuration: "Debug" 1> CMake Warning (dev) at cmake_install.cmake:31 (list): 1> Syntax error in cmake c

[CMake] Compilation with multiple jobs fails

2010-09-20 Thread Steven Bellens
Hi, I'm trying to compile a custom library using CMake code. The configuration and compilation goes well when I just use 'make'. In order to speed things up I tried to compile the library with multiple jobs in parallel with 'make -j2'. However, compilation always fails in that case (tested on mult

[CMake] altering RUN_TESTS post-build command (MSVC + CTest)

2010-09-20 Thread Keith Gunderson
I'm using a MSVC 9.0 Generator with Cmake 2.8.2 How do I add a change so that the command for my RUN_TESTS project changes from the default of: "C:\Program Files\CMake 2.8\bin\ctest.exe" --force-new-ctest-process -C $(OutDir) if errorlevel 1 goto VCReportError to "C:\Program Files\CMake 2.8\

[CMake] cmake Qt4 and uic3

2010-09-20 Thread Kelly Burkhart
Hello, I'm in the process of converting our build system from qmake to cmake. We have a number of projects that use uic3 rather than uic and I'm having a difficult time figuring out how to run the older command. I've tried copying QT4_WRAP_UI to a differently named macro and changing the 'COMMAND

Re: [CMake] pass compile flags to initial compiler test.. now an assembler issue

2010-09-20 Thread Yngve Inntjore Levinsen
Hi, Thank you for your very quick response Hannes! I tried to set SET(CMAKE_Fortran_FLAGS_INIT "...") in my CMakeLists.txt, but since it didn't work I tried to dig a bit deeper. It seems that my early assumptions were wrong, if I enter the folder CMakeFiles/CompilerIdFortran/ and try to compil

Re: [CMake] SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY)

2010-09-20 Thread Nicky Perian
Per suggestions; changed SET to below. Cpack still cannot find the registry key. SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY HKEY_LOCAL_MACHINE"/SOFTWARE//NSIS/Unicode") From: Nicky Perian To: cmake@cmake.org Sent: Fri, September 17, 2010 12:59:08 PM Subject: SET

Re: [CMake] SET (CPACK_PACKAGE_INSTALL_REGISTRY_KEY)

2010-09-20 Thread David Cole
Why are you trying to set "* CPACK_PACKAGE_INSTALL_REGISTRY_KEY *"? What do you hope to achieve by setting this value? My suggestion is NOT to set it. Or to set it to something like "My Software Package Name". There is no reason you should be trying to set it to HKEY_LOCAL_MACHINE/SOFTWARE/NSIS/

Re: [CMake] R: Re: R: Re: CMake CDT generator

2010-09-20 Thread Alexander Neundorf
On Monday 20 September 2010, tinau...@libero.it wrote: > >You can import once the source directory and additionally multiple build > >directories as projects into Eclipse. > > Yes was already done, I have in CDT my project folder > (myproj...@buildproject), having its binary,sr,include folder; it a

Re: [CMake] cmake Qt4 and uic3

2010-09-20 Thread Alexander Neundorf
On Monday 20 September 2010, Kelly Burkhart wrote: > Hello, I'm in the process of converting our build system from qmake to > cmake. We have a number of projects that use uic3 rather than uic and > I'm having a difficult time figuring out how to run the older command. > > I've tried copying QT4_WR

Re: [CMake] Compilation with multiple jobs fails

2010-09-20 Thread Alexander Neundorf
On Monday 20 September 2010, Steven Bellens wrote: > Hi, > > I'm trying to compile a custom library using CMake code. The > configuration and compilation goes well when I just use 'make'. In > order to speed things up I tried to compile the library with multiple > jobs in parallel with 'make -j2'.

Re: [CMake] CMake 2.8.2 with WindRiver diab compiler dcc.exe/dplus.exe on WinXP: CMake Error: Could not COPY_FILE. while detecting compiler ABI

2010-09-20 Thread Alexander Neundorf
On Thursday 16 September 2010, Molsen, Hannes wrote: > Hello everyone, > > Currently I am trying to compile a Software for a PowerPC PPC603 running > VxWorks. For that I use the Diab-Compilers with mingw32-make on MS Windows > XP. The makefiles should be created by CMake MinGW Makefile generator (I

Re: [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-20 Thread Bill Hoffman
On 9/20/2010 10:58 AM, Micha Renner wrote: ...and make sure this is a regression. ??? Make sure it is a new bug, that used to work in the past. Please notice: I'm using the VS2010 Express Version. Sometimes things are here different. I downloaded cmake-2.8.3-rc1-win32-x86.exe from this so

Re: [CMake] pass compile flags to initial compiler test.. now an assembler issue

2010-09-20 Thread Molsen, Hannes
Hi Yngve, > -Original Message- > From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of > Yngve Inntjore Levinsen > Sent: Montag, 20. September 2010 18:38 > To: cmake@cmake.org > Subject: Re: [CMake] pass compile flags to initial compiler test.. now an > assembler is