[CMake] Compile same source file with different flags into the same library

2009-12-08 Thread Matthias Moeller
I try to write a cmake file for some external library (from the sparse suite). In the provided makefile a single source file is compiled twice with different compiler flags, e.g., $(C) -DDINT -c ../Source/amd_aat.c -o amd_i_aat.o $(C) -DDLONG -c ../Source/amd_aat.c -o amd_l_aat.o and finally all

Re: [CMake] Newie's question: Multiple applications with one common kernel

2009-12-08 Thread Matthias Moeller
Tyler Roscoe wrote: > On Mon, Dec 07, 2009 at 05:53:37PM +0100, Matthias Moeller wrote: > >> Our project has the following structure: >> >> root/applications (Applications by different users) >> applications/app1 >> applications/app2 >>

[CMake] Newie's question: Multiple applications with one common kernel

2009-12-07 Thread Matthias Moeller
from within the application's CMakeLists.txt file. Any help on this problem will be appreciated. Best regards, Matthias Moeller ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opens