This is the minimal CMakeLists.txt for building an executable named myproject
from main.cpp
:
cmake_minimum_required (VERSION 2.8.11) project (MyProject) add_executable (myproject main.cpp)
This is the minimal CMakeLists.txt for building an executable named myproject
from main.cpp
:
cmake_minimum_required (VERSION 2.8.11) project (MyProject) add_executable (myproject main.cpp)