mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-18 20:24:35 +03:00
10 lines
243 B
CMake
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) |