Re: [CMake] Re: CMake Digest, Vol 39, Issue 38

2007-07-18 Thread Clark J. Wang
On 7/19/07, cjacker <[EMAIL PROTECTED]> wrote: Shall I reply this message? I found a question about "redflag" "Is RedFlag's project using CMake?" Yes. I am A so called "Development Dept. Senior Manager" from RedFlag. Is RedFlag hiring new people? Maybe I can consider joining RedFlag. :-)

[CMake] still about variable usage in cmake.

2007-07-18 Thread cjacker
"The `IF(var)' or `IF(NOT var)' command expects `var' to be the name of a variable. This is stated in CMake's manual. So, for your situation `IF(${libX})' is the same as `IF(/usr/lib/xorg)' and then CMake will check the value of the variable named `/usr/lib/xorg'" Thanks very much. Now I can und

[CMake] Re: CMake Digest, Vol 39, Issue 38

2007-07-18 Thread cjacker
Shall I reply this message? I found a question about "redflag" "Is RedFlag's project using CMake?" Yes. I am A so called "Development Dept. Senior Manager" from RedFlag. From Akademy 2006 in dublin(I was there), I know more about cmake. When we were preparing for next release of RF, I request

Re: [CMake] how to use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH?

2007-07-18 Thread cjacker
Can you help to explain the rule of cmake variable usage(not env var)? which condition shall we use ${}. and which condition shall we use VARIABLE name directly. I found that: most time we use variable like this ${VARNAME} but in IF command we should use it like IF(VARNAME). Alan W. Irwin 写道:

Re: [CMake] how to use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH?

2007-07-18 Thread cjacker
Greate! Thanks very much, seems works. But it looks like this environment variable only affect FIND_* command? There is also some chinese users ask me about this question. They hope thing works like this: set the vairable and it works, just like append -I to compiler. Alan W. Irwin 写道: On

Re: [CMake] how to use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH?

2007-07-18 Thread Clark J. Wang
On 7/19/07, cjacker <[EMAIL PROTECTED]> wrote: cmake-2.4.6. I had search it anywhere. somebody said these are environment variable in some CMakeLists.txt I also find something like this: set(CMAKE_INCLUDE_PATH /include) This seems like a cmake variable not a environment variable. Also, I did n

Re: [CMake] how to use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH?

2007-07-18 Thread Alan W. Irwin
On 2007-07-19 11:22+0800 cjacker wrote: I do it in bash like this: export CMAKE_INCLUDE_PATH=/usr/include/hello FIND_PATH(myPath hello.h ${CMAKE_INCLUDE_PATH}) Try this instead: export CMAKE_INCLUDE_PATH=/usr/include/hello then in CMake script: FIND_PATH(myPath hello.h) In other words, dr

[CMake] how to use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH?

2007-07-18 Thread cjacker
cmake-2.4.6. I had search it anywhere. somebody said these are environment variable in some CMakeLists.txt I also find something like this: set(CMAKE_INCLUDE_PATH /include) This seems like a cmake variable not a environment variable. Also, I did not find this variable in kdebase of KDE4. Anyboy

Re: [CMake] About variable Usage in cmake

2007-07-18 Thread Clark J. Wang
On 7/19/07, cjacker <[EMAIL PROTECTED]> wrote: I am writing a not too short Chinese tutorial about cmake. Up to now nine chapter had already been finished, include: Interesting. Is RedFlag's project using CMake? :-) prefix 1,about cmake 2,how to install cmake. 3,Hello World in cmake use he

[CMake] About variable Usage in cmake

2007-07-18 Thread cjacker
I am writing a not too short Chinese tutorial about cmake. Up to now nine chapter had already been finished, include: prefix 1,about cmake 2,how to install cmake. 3,Hello World in cmake use helloworld as a demo to illustrate how to use cmake to manage and build a project. introduce PROJECT ADD_EX

[CMake] Re: rc compile options in visual studio

2007-07-18 Thread Jon W
On 7/17/07, Jon W <[EMAIL PROTECTED]> wrote: When using visual studio, the resource compile options are updated with the cxx preprocessor definitions and the cxx include paths. How can I remove all of the cxx preprocessor/include definitions and redefine the options? I haven't had any luck tryi

[CMake] Re: CMake precompiled header support (in MSVC 7.1)

2007-07-18 Thread Dave Wolfe
It looks like this was fixed in CMake 2.4.7(?), which was just posted. See: http://www.cmake.org/Bug/bug.php?op=show&bugid=3512 Upgrading should fix your problem. Please reply if it still does not work for you... HTH, - Dave Wolfe gForce Technologies, Inc. __

Re: [CMake] CMake precompiled header support (in MSVC 7.1)

2007-07-18 Thread Alexandru Ciobanu
Hi, Alexander! I've been able to implement Precompiled Headers for a project. We use the Intel compiler on Linux, but still, the steps are the same: - compile a stdafx.cpp with /Yc ( gives the .pch file ) - compile the normal source files using /Yu Here is a rough sketch of a possible solu

Re: [CMake] Re: CMake 2.4.7 available for download

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 11:33, Matthew Woehlke wrote: > Bill Hoffman wrote: > > On behalf of myself, Ken, Brad, Alex and the rest of the CMake team, > > we are pleased to announce that CMake 2.4.7 is available for download > > at: http://www.cmake.org/HTML/Download.html > > If you have any proble

[CMake] Re: CMake 2.4.7 available for download

2007-07-18 Thread Matthew Woehlke
Bill Hoffman wrote: On behalf of myself, Ken, Brad, Alex and the rest of the CMake team, we are pleased to announce that CMake 2.4.7 is available for download at: http://www.cmake.org/HTML/Download.html If you have any problems or find any bugs, please report them at www.cmake.org/Bug. A list of

Re: [CMake] ADA language

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 08:24, Alan W. Irwin wrote: > On 2007-07-18 11:30+0200 Camek, Alexander wrote: > > Now i have added the ADA language to cmake as my own modules. I added a > > CMakeAdaCompiler.cmake.in, a CMakeDetermineAdaCompiler.cmake and a > CMakeAdaInfomation.cmake. I do there the same

Re: [CMake] ADA language

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 10:18, Camek, Alexander wrote: ... > Is it possible that cmake is ignoring modules and their settings which are > not in the normal module tree of cmake? Because i have done a > SET(CMAKE_MODULE_PATH ToMyModules). It should work, but there might be some places where CMAKE

Re: [CMake] ADA language

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 11:01, Camek, Alexander wrote: > Hi Alex, > > > > Is it possible that cmake is ignoring modules and their > > > > settings which > > > > > are not in the normal module tree of cmake? Because i have done a > > > SET(CMAKE_MODULE_PATH ToMyModules). > > > > It should work, bu

RE: [CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi Alex, > > Is it possible that cmake is ignoring modules and their > settings which > > are not in the normal module tree of cmake? Because i have done a > > SET(CMAKE_MODULE_PATH ToMyModules). > > It should work, but there might be some places where > CMAKE_ROOT is hardcoded, there CMAKE_M

RE: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 16:18+0200 Camek, Alexander wrote: I think you have to take care that the cases match. If the language is "Ada", the variable should CMAKE_Ada_LINK_FLAGS etc., for all variables and filenames. I have tried both "ADA" or "Ada" in the variables and filenames, no difference occured

RE: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 15:27+0200 Camek, Alexander wrote: Hi Alan, One thing. If i use your cmake modules for Ada. Then the test for the compiler failes under windows with mingw. It says: C:\MinGW\bin\gcc.exe -o CMakeFiles/testadacompiler.dir/testadacompiler.obj -c foo.adb Gnat1: incorrect object file

Re: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 09:48-0400 Alexander Neundorf wrote: On Wednesday 18 July 2007 08:43, Camek, Alexander wrote: Hi, When i do an include of both modules to my main CMakeLists.txt the compiler is found and all configured. But during build time the tags can not be unbind. Any hints? I am not su

RE: [CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi Alex, > > > > When i do an include of both modules to my main > CMakeLists.txt the > > > > compiler is found and all configured. But during build time the > > > > tags can not be unbind. > > > > > > > > Any hints? > > > > > > I am not sure what issue you are referring to here, but I > enco

[CMake] CMake 2.4.7 available for download

2007-07-18 Thread Bill Hoffman
On behalf of myself, Ken, Brad, Alex and the rest of the CMake team, we are pleased to announce that CMake 2.4.7 is available for download at: http://www.cmake.org/HTML/Download.html If you have any problems or find any bugs, please report them at www.cmake.org/Bug. A list of changes for the 2.4 r

[CMake] CMake X.X.X available for download

2007-07-18 Thread Bill Hoffman
On behalf of myself, Ken, Brad, Alex and the rest of the CMake team, we are pleased to announce that CMake 2.4.7 is available for download at: http://www.cmake.org/HTML/Download.html If you have any problems or find any bugs, please report them at www.cmake.org/Bug. A list of changes for the 2.

Re: [CMake] ADA language

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 08:43, Camek, Alexander wrote: > Hi, > > > > When i do an include of both modules to my main CMakeLists.txt the > > > compiler is found and all configured. But during build time > > > the tags can not be unbind. > > > > > > Any hints? > > > > I am not sure what issue you

RE: [CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi Alan, One thing. If i use your cmake modules for Ada. Then the test for the compiler failes under windows with mingw. It says: C:\MinGW\bin\gcc.exe -o CMakeFiles/testadacompiler.dir/testadacompiler.obj -c foo.adb Gnat1: incorrect object file extension Okay, this is clear because gnatbind is

RE: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 14:43+0200 Camek, Alexander wrote: Hi, When i do an include of both modules to my main CMakeLists.txt the compiler is found and all configured. But during build time the tags can not be unbind. Any hints? I am not sure what issue you are referring to here, but I encourage

RE: [CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi, > > When i do an include of both modules to my main CMakeLists.txt the > > compiler is found and all configured. But during build time > > the tags can not be unbind. > > > Any hints? > > I am not sure what issue you are referring to here, but I > encourage you to try the above Ada-rela

Re: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 11:30+0200 Camek, Alexander wrote: Now i have added the ADA language to cmake as my own modules. I added a CMakeAdaCompiler.cmake.in, a CMakeDetermineAdaCompiler.cmake and a CMakeAdaInfomation.cmake. I do there the same like in C, because with the gcc you can compile and link ada

[CMake] CMake precompiled header support (in MSVC 7.1)

2007-07-18 Thread Alexander Jasper
Hi all, First of all I like say thank you to the Cmake community for providing this great build tool free of charge. After using it for some while now we are facing problems with the build times. Therefore we think using pre-compiled headers in MSVC 7.1. As CMake doesn’t seem to have "native"

[CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi list, Now i have added the ADA language to cmake as my own modules. I added a CMakeAdaCompiler.cmake.in, a CMakeDetermineAdaCompiler.cmake and a CMakeAdaInfomation.cmake. I do there the same like in C, because with the gcc you can compile and link ada files (you do not realy use gnatmake whi