Files
cmake-examples/01-basic/A-hello-cmake/CMakeLists.txt

10 lines
243 B
CMake

# Set the minimum version of CMake that can be used
# To find the cmake version run
# $ cmake --version
cmake_minimum_required(VERSION 2.6)
# Set the project name
project (hello_cmake)
# Add an executable
add_executable(hello_cmake main.cpp)