Skip to content

Instantly share code, notes, and snippets.

@sepfy
Created August 18, 2020 07:06
Show Gist options
  • Save sepfy/82fb92c85bc84af81ef74a4d5ddadb6a to your computer and use it in GitHub Desktop.
Save sepfy/82fb92c85bc84af81ef74a4d5ddadb6a to your computer and use it in GitHub Desktop.
cmake_minimum_required(VERSION 3.1)
project(samples)
add_executable(main main.c)
install(TARGETS main
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment