9.3.2 Compilation

Je ne sais pas si ça vaut la peine de le redire, mais je le fait quand même :

On appel CMake :

cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works                                                                                                                                           
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                                                                                                                                        
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Configuring done
-- Generating done

Ensuite make :

make
Scanning dependencies of target exAppTest
[ 16%] Building CXX object CMakeFiles/exAppTest.dir/sdlglutils.cpp.o
[ 33%] Building CXX object CMakeFiles/exAppTest.dir/vecteur.cpp.o
[ 50%] Building CXX object CMakeFiles/exAppTest.dir/camera.cpp.o
[ 66%] Building CXX object CMakeFiles/exAppTest.dir/sdlopengl_app.cpp.o
[ 83%] Building CXX object CMakeFiles/exAppTest.dir/apptest.cpp.o
[100%] Building CXX object CMakeFiles/exAppTest.dir/main.cpp.o
Linking CXX executable exAppTest
[100%] Built target exAppTest

Et voilà pour la compilation.