Re: [CMake] 4th Edition CMake book now in stock

2008-02-05 Thread Alan W. Irwin
On 2008-02-05 19:50-0500 Brandon Van Every wrote: Please think of what real piracy implies (rape, murder, looting, slavery) before using the term so casually. "Piracy" is a technical term that everyone in the software industry is familiar with, and that most consumers are now familiar with as

Re: [CMake] How to delete cache files? Cross platform developing sharing linux folder to MS Windows using samba.

2008-02-05 Thread Surya Kiran Gullapalli
Its always better to have out-of-source build. http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees This way, you have two build directories one for windows and other for unix. (like build-win and build-unix). no need to delete cache files. Surya

[CMake] How to delete cache files? Cross platform developing sharing linux folder to MS Windows using samba.

2008-02-05 Thread Niitsuma Hirotaka
Let us consider the case /home/myname/src/CMakeLists.txt in linux is shared to MS Windows via samba. Usually the path of this file from MS Windows is changed to \\fileservername\myname\src\CMakeLists.txt Doing "cmake ." in linux generates some cache files: CMakeCache.txt and so on. Because of these

[CMake] emacs flymake

2008-02-05 Thread Niitsuma Hirotaka
In order to use flymake http://www.emacswiki.org/cgi-bin/wiki/FlyMake Makefile need target check-syntax as the following .PHONY: check-syntax check-syntax: gcc -Wall -fsyntax-only $(CHK_SOURCES) How to automatically generate this target in cmake? __

Re: [CMake] Setting Linker for CMAKE

2008-02-05 Thread Bill Hoffman
Linton, Tom wrote: For Linux, how can you tell CMAKE where to find the linker 'ld' ? Cmake does not usually call ld directly, but rather uses the compiler to do the linking. In the Modules/Platform files there are settings for linking various things. Do you have a more specific problem you

[CMake] Setting Linker for CMAKE

2008-02-05 Thread Linton, Tom
For Linux, how can you tell CMAKE where to find the linker 'ld' ? Thanks Tom ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] 4th Edition CMake book now in stock

2008-02-05 Thread Brandon Van Every
On Feb 5, 2008 6:49 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > On 2008-02-05 17:08-0500 Brandon Van Every wrote: > > > On Feb 5, 2008 4:28 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > >> > >> I looked at that site, and there was no mention of an electronic (PDF) > >> version. I far prefer th

Re: [CMake] 4th Edition CMake book now in stock

2008-02-05 Thread Alan W. Irwin
On 2008-02-05 17:08-0500 Brandon Van Every wrote: On Feb 5, 2008 4:28 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: I looked at that site, and there was no mention of an electronic (PDF) version. I far prefer that format since it is friendlier to trees, takes up no space in my office, is much

Re: [CMake] 4th Edition CMake book now in stock

2008-02-05 Thread Brandon Van Every
On Feb 5, 2008 4:28 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > > I looked at that site, and there was no mention of an electronic (PDF) > version. I far prefer that format since it is friendlier to trees, takes up > no space in my office, is much easier to search, and I can adjust the size > o

Re: [CMake] 4th Edition CMake book now in stock

2008-02-05 Thread Alan W. Irwin
On 2008-02-05 14:04-0500 Ken Martin wrote: The 4th edition CMake books have arrived and you can order them from http://kitware.com/products/cmakebook.html They should show up on Amazon in the near future as well. A summary table of contents is included below. I looked at that site, and there w

Re: [CMake] how to INSTALL linux custom kernel module?

2008-02-05 Thread Filipe Sousa
Christopher Lang wrote: > Hi, > > what is the best way to INSTALL a custom kernel module that needs execution > of > some script (like "update-modules" or "depmod") after installation? > > If somebody could point me in the direction of an example would be nice. install([[SCRIPT ] [CODE ]] [...

[CMake] how to INSTALL linux custom kernel module?

2008-02-05 Thread Christopher Lang
Hi, what is the best way to INSTALL a custom kernel module that needs execution of some script (like "update-modules" or "depmod") after installation? If somebody could point me in the direction of an example would be nice. many thanks regards Chris http://www.acurana.de/ __

[CMake] Re: [CMake-Promote] Cmake Book

2008-02-05 Thread Brandon Van Every
On Feb 5, 2008 2:30 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > The 4th edition CMake books have arrived and you can order them from > http://kitware.com/products/cmakebook.html I've ordered. Am I first? Do I get a cookie? Cheers, Brandon Van Every _

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread Alexander Neundorf
On Tuesday 05 February 2008, Joshua Jensen wrote: > - Original Message - > From: Brandon Van Every > Date: 2/5/2008 7:23 AM > > > On Feb 5, 2008 6:50 AM, John Spray <[EMAIL PROTECTED]> wrote: > >> Is it possible to build certain objects for one architecture and > >> certain objects for anot

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread Brandon Van Every
On Feb 5, 2008 2:15 PM, Hendrik Sattler <[EMAIL PROTECTED]> wrote: > Am Dienstag 05 Februar 2008 schrieb Brandon Van Every: > > > On Feb 5, 2008 11:08 AM, Hendrik Sattler <[EMAIL PROTECTED]> wrote: > > > Quoting Brandon Van Every <[EMAIL PROTECTED]>: > > > > On Feb 5, 2008 10:05 AM, John Spray <[EM

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread Hendrik Sattler
Am Dienstag 05 Februar 2008 schrieb Brandon Van Every: > On Feb 5, 2008 11:08 AM, Hendrik Sattler <[EMAIL PROTECTED]> wrote: > > Quoting Brandon Van Every <[EMAIL PROTECTED]>: > > > On Feb 5, 2008 10:05 AM, John Spray <[EMAIL PROTECTED]> wrote: > > >> If I were invoking a second CMake, would I be a

[CMake] 4th Edition CMake book now in stock

2008-02-05 Thread Ken Martin
The 4th edition CMake books have arrived and you can order them from http://kitware.com/products/cmakebook.html They should show up on Amazon in the near future as well. A summary table of contents is included below. Thanks Ken CHAPTER 1 WHY CMAKE? 1 1.1 The History of CMake3 1.2

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread Brandon Van Every
On Feb 5, 2008 11:08 AM, Hendrik Sattler <[EMAIL PROTECTED]> wrote: > > Quoting Brandon Van Every <[EMAIL PROTECTED]>: > > On Feb 5, 2008 10:05 AM, John Spray <[EMAIL PROTECTED]> wrote: > >> > >> If I were invoking a second CMake, would I be able to make the host > >> CMake aware of the second as a

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread Hendrik Sattler
Quoting Brandon Van Every <[EMAIL PROTECTED]>: On Feb 5, 2008 10:05 AM, John Spray <[EMAIL PROTECTED]> wrote: If I were invoking a second CMake, would I be able to make the host CMake aware of the second as a dependency? Sure. add_custom_command, add_custom_target. The subsidiary CMake woul

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread Brandon Van Every
On Feb 5, 2008 10:05 AM, John Spray <[EMAIL PROTECTED]> wrote: > > If I were invoking a second CMake, would I be able to make the host > CMake aware of the second as a dependency? Sure. add_custom_command, add_custom_target. The subsidiary CMake would have to actually output something. You'd ha

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread John Spray
On Feb 5, 2008 2:52 PM, Joshua Jensen <[EMAIL PROTECTED]> wrote: > I'll give a simple example, if I'm understanding the request. For the PS3, > you link SPU code in the PPU executable. SPU code is just .c/.cpp files, > possibly with libraries linked in. In any case, there are two separate > too

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread Joshua Jensen
- Original Message - From: Brandon Van Every Date: 2/5/2008 7:23 AM On Feb 5, 2008 6:50 AM, John Spray <[EMAIL PROTECTED]> wrote: Is it possible to build certain objects for one architecture and certain objects for another? Not in the same build. You'd need 2 different invocati

Re: [CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread Brandon Van Every
On Feb 5, 2008 6:50 AM, John Spray <[EMAIL PROTECTED]> wrote: > Hi, > > I'm attempting to use cmake to compile a project which requires code > for a foreign architecture to be embedded in a library compiled for > the host architecture. I can compile for the foreign archtecture by > setting CMAKE_F

[CMake] Multiple toolchains in one CMakeList?

2008-02-05 Thread John Spray
Hi, I'm attempting to use cmake to compile a project which requires code for a foreign architecture to be embedded in a library compiled for the host architecture. I can compile for the foreign archtecture by setting CMAKE_FIND_ROOT_PATH to the directory containing the toolchain, but in this case