5.6 La compilation

Comme toujours nous appelons d'abord 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
-- Configuring done
-- Generating done

Ensuite on appelle Make :

make
Scanning dependencies of target libnetwork
[ 33%] Building C object libnetwork/CMakeFiles/libnetwork.dir/psocket_init.c.o
Linking C static library liblibnetwork.a
[ 33%] Built target libnetwork
Scanning dependencies of target testchattcpunix_server
[ 66%] Building CXX object server/CMakeFiles/testchattcpunix_server.dir/main.cpp.o
Linking CXX executable testchattcpunix_server
[ 66%] Built target testchattcpunix_server
Scanning dependencies of target testchattcpunix_client
[100%] Building CXX object client/CMakeFiles/testchattcpunix_client.dir/main.cpp.o
Linking CXX executable testchattcpunix_client
[100%] Built target testchattcpunix_client

Bien sûr, ça n'a pas changé.