cmake_minimum_required(VERSION 2.6) project(MyProject) # will generate the binary ./main.exe add_executable( # binary main.exe # fichiers sources main.cpp )