Re: [libposix-development] Initial attempt at CMake
Status: Pre-Alpha
Brought to you by:
hdante
From: Henrique A. <hd...@gm...> - 2009-06-19 02:18:00
|
2009/6/16 Henrique Almeida <hd...@gm...>: > I've updated a initial version of a CMakeLists.txt for the project > and it can be compiled with cmake. Instructions follow: > > - install cmake ("sudo apt-get install cmake" in Ubuntu) > - from "libposix" directory, cd .. && mkdir libposix.build && cd libposix.build > - cmake ../libposix > - make > > Please test. It should work on all targets. Immediate TODO list follows: > > - add a target for runtime (runtime.o) Runtime is now installed with the library. > - remove hardcoded path (RPATH) for libposix in "hello" CMake automatically changes rpaths on installation, so it's not necessary to remove it (actually, it's better like that, because we don't need to set up LD_LIBRARY_PATH while running hello) > - improve system/architecture detection to map to "platform sets" > (I'll describe those later) Since this is more important for cross compiling, I'll leave that for some other time. > > -- > Henrique Dante de Almeida > hd...@gm... > -- Henrique Dante de Almeida hd...@gm... |