13 lines
344 B
CMake
13 lines
344 B
CMake
# Specify the minimum version of CMake required
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
# Set the project name and version
|
|
project(HelloWorldApp VERSION 1.0)
|
|
|
|
# Add the executable
|
|
add_executable(HelloWorldApp src/HelloWorldApp.cpp)
|
|
target_link_libraries(HelloWorldApp -static)
|
|
|
|
# install executable
|
|
install(TARGETS HelloWorldApp DESTINATION bin)
|