Re: [CMake] Fwd: Save stripped debugging information

2011-09-30 Thread Michael Hertling
On 09/30/2011 08:39 AM, Rolf Eike Beer wrote: >> On 09/29/2011 06:15 AM, Yuri Timenkov wrote: >>> When I was investigating similar problem, I found alternative approach >>> at >>> http://code.google.com/p/dynamorio/source/browse/trunk/CMakeLists.txt. >>> >>> The thing is to change linker rules, to

[CMake] FindQt4

2011-09-30 Thread MM
hi, I generated a msvc10 solution with cmake 2.8.5. I use the following in the project's CMakeLists.txt FIND_PACKAGE(Qt4 4.5.3 COMPONENTS QtCore QtGui QtOpenGL REQUIRED) IF(QT4_FOUND) INCLUDE(${QT_USE_FILE}) TARGET_LINK_LIBRARIES(nhui ${QT_LIBRARIES}) ELSE() MESSAGE(FATAL_ERROR "Qt>=4.5.3

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-30 Thread Eric Noulard
2011/9/30 Alexander Neundorf : >> Summary: >> >>          build    dry    rebuild >> ninja   1m15.8   0m0.1    0m07.3 >> make    1m19.4   0m1.4    0m07.9 >> auto    3m19.9   0m2.1    0m13.0 >> >> So only the dry run shows a huge speedup (10-20 times faster) > > Not to question your numbers, but sho

[CMake] Dependent variable definitions disappear in fortran module files

2011-09-30 Thread John R. Cary
I have a library that depends on another library (netcdf). When I build the definitions from the dependency are missing from the .mod file: octet.cary$ grep -i nf_inq_varid ezcdf_attrib.mod octet.cary$ But if I just compile again, they are there: octet.cary$ /usr/bin/gfortran -DHAVE_CONFIG_H

Re: [CMake] CMake 2.8, Xcode generator and XIB files

2011-09-30 Thread g...@novadsp.com
Hi Daniel On 30/09/2011 15:14, Daniel Dekkers wrote: I've been battling with .xibs for weeks. What I am finally doing now is not trying to compile and add them to the bundle via CMake myself using custom commands. I just add them as sources to ADD_EXECUTABLE(... ${RESOURCES}) and set SET_TARG

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-30 Thread Alexander Neundorf
On Friday 30 September 2011, Peter Kuemmel wrote: > > Tested cmake/ninja with Blender's cmake files, works well, and fast! > > Single file rebuild is 0.97 sec, same on makefiles was 3.7sec. > > I also have some numbers: > > > Building LyX (lyx.org, 676 files): > > Ly

Re: [CMake] Testing Intel Fortran 12 with cmake in "next" git

2011-09-30 Thread Bill Hoffman
On 9/30/2011 10:56 AM, Bill Hoffman wrote: Can you send me two things (off the list, do not cc cmake@cmake.org). Send me the files: CMAKE_TRY_COMPILE.sln cmTryCompileExec.vfproj Then use your VS IDE to create a simple fortran project that does work for you. Then send me that .sln and .vfproj f

Re: [CMake] Testing Intel Fortran 12 with cmake in "next" git

2011-09-30 Thread Bill Hoffman
Can you send me two things (off the list, do not cc cmake@cmake.org). Send me the files: CMAKE_TRY_COMPILE.sln cmTryCompileExec.vfproj Then use your VS IDE to create a simple fortran project that does work for you. Then send me that .sln and .vfproj file. You do have the IDE integration f

Re: [CMake] Testing Intel Fortran 12 with cmake in "next" git

2011-09-30 Thread Mario Rodríguez
C:\Documents and Settings\Administrator\Desktop\pruebas\CMakeFiles\CMakeTmp>dir Volume in drive C is XP_64 Volume Serial Number is 3082-1D5B Directory of C:\Documents and Settings\Administrator\Desktop\pruebas\CMakeFiles\CMakeTmp 30/09/2011 16:21 . 30/09/2011 16:21

Re: [CMake] Testing Intel Fortran 12 with cmake in "next" git

2011-09-30 Thread Bill Hoffman
On 9/30/2011 10:25 AM, Mario Rodríguez wrote: Hi, I've done this test with a CMakeLists.txt including only the project line and the output is the same. When I go to CMakeTmp and open CMAKE_TRY_COMPILE.sln, the popup is shown saying that the project was created with a later version. Then the cmt

Re: [CMake] Testing Intel Fortran 12 with cmake in "next" git

2011-09-30 Thread Mario Rodríguez
Hi, I've done this test with a CMakeLists.txt including only the project line and the output is the same. When I go to CMakeTmp and open CMAKE_TRY_COMPILE.sln, the popup is shown saying that the project was created with a later version. Then the cmtrycompilerexe project is unavailable and cant be

Re: [CMake] CMake 2.8, Xcode generator and XIB files

2011-09-30 Thread Daniel Dekkers
Correction: not the Info.plist. That is treated differently because CMake generates its own for the project. You can set a "template" Info.plist though where ${VARIABLE} entries are subsituted with (known) CMake variables. On Sep 30, 2011, at 4:14 PM, Daniel Dekkers wrote: > Hi Jerry, > > I'v

Re: [CMake] CMake 2.8, Xcode generator and XIB files

2011-09-30 Thread Daniel Dekkers
Hi Jerry, I've been battling with .xibs for weeks. What I am finally doing now is not trying to compile and add them to the bundle via CMake myself using custom commands. I just add them as sources to ADD_EXECUTABLE(... ${RESOURCES}) and set SET_TARGET_PROPERTIES(... PROPERTIES RESOURCE ${RESOUR

Re: [CMake] Testing Intel Fortran 12 with cmake in "next" git

2011-09-30 Thread Bill Hoffman
On 9/30/2011 5:50 AM, Mario Rodríguez wrote: I've tested it again in more computers and building others new versions of cmake git next, release, 2.8.6,... and the result is the same I have this version and it works perfect: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Intel(R) Softwar

Re: [CMake] Help regarding dependency..I guess..

2011-09-30 Thread Eric Noulard
2011/9/30 gaurav chetal : > Respected sir!!!.. > > Actually i have made the static libraries..But the problems which m gettin > is that the program of the CMakeLists.txt is first of all nt able to pick up > the libraries (with TARGET_LINK_LIBRARY) and second thing those libraries > are of the heade

[CMake] CMake 2.8, Xcode generator and XIB files

2011-09-30 Thread g...@novadsp.com
My CMake rules to convert a .XIB file to a .NIB file in the application bundle work for makefile builds. However I cannot get the same result when using the Xcode generator. Does anyone have a working example for XCode 3.X or 4 they can share? The cmakelists.txt script is Message("We are gen

Re: [CMake] Help regarding dependency..I guess..

2011-09-30 Thread Eric Noulard
2011/9/30 gaurav chetal : Hi, Please do not drop he mailing list address. > My CMake version is 2.8..Its on linux yes!!!..But still if i dnt want to go > into the complexity (because m nt understanding the concept of RPath dat > easily) then what can i do so that my program gets executed I th

Re: [CMake] How to use add_custom_command correctly

2011-09-30 Thread Martin Kupke
On 29.09.11 01:46, Michael Hertling wrote: On 09/28/2011 01:45 PM, Martin Kupke wrote: Now it seems to be solved, the generator is called and the generated sources / headers are then compiled and linked into a library. My changes are in the D:/project/Discovery/Generated/Driver/CMakeLists.txt

Re: [CMake] Testing Intel Fortran 12 with cmake in "next" git

2011-09-30 Thread Mario Rodríguez
I've tested it again in more computers and building others new versions of cmake git next, release, 2.8.6,... and the result is the same 2011/9/27 Mario Rodríguez > Hi, > > I'm testing the new feature described in this comment of the ticket in > http://www.cmake.org/Bug/view.php?id=11517 > > "I

Re: [CMake] Help regarding dependency..I guess..

2011-09-30 Thread Eric Noulard
2011/9/30 gaurav chetal : > Hello everyone.. > I have two library files in two different directories and my project > involves linking one library with the another..So i used > Target_link_libraries..but i am unable to execute the executable and it is > giving the error as > "In function `main': >