From a2bc2333b474adfde66c6cd67315f227491f157c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 7 Jan 2020 03:26:04 +0300 Subject: cmake: add examples --- cmake/examples/simple/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 cmake/examples/simple/CMakeLists.txt (limited to 'cmake/examples/simple/CMakeLists.txt') diff --git a/cmake/examples/simple/CMakeLists.txt b/cmake/examples/simple/CMakeLists.txt new file mode 100644 index 0000000..5f42914 --- /dev/null +++ b/cmake/examples/simple/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.1) + +project(example_simple) + +include(../../common.cmake) + +add_executable(foo foo.cpp) + +install(TARGETS foo RUNTIME DESTINATION bin) -- cgit v1.2.3