From cfa34eacc0369cf09405f4d0cdb16a9422f96c23 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 21 Jan 2026 13:51:27 +0100 Subject: examples: get rid of common.cmake This has been done for the boost example anyway, and I'm planning to do this. --- examples/dynamic/CMakeLists.txt | 3 --- examples/simple/CMakeLists.txt | 3 --- examples/static/CMakeLists.txt | 3 --- 3 files changed, 9 deletions(-) diff --git a/examples/dynamic/CMakeLists.txt b/examples/dynamic/CMakeLists.txt index 1b3c93f..e1e86b6 100644 --- a/examples/dynamic/CMakeLists.txt +++ b/examples/dynamic/CMakeLists.txt @@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.8) project(example_dynamic) -include(../../common.cmake) - add_library(baz SHARED baz.cpp) target_include_directories(baz PUBLIC .) @@ -11,4 +9,3 @@ add_executable(foo foo.cpp) target_link_libraries(foo PRIVATE baz) install(TARGETS foo baz RUNTIME DESTINATION bin LIBRARY DESTINATION lib) -install_pdbs(TARGETS foo baz DESTINATION bin) diff --git a/examples/simple/CMakeLists.txt b/examples/simple/CMakeLists.txt index 6ee2762..6ab66d6 100644 --- a/examples/simple/CMakeLists.txt +++ b/examples/simple/CMakeLists.txt @@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 3.8) project(example_simple) -include(../../common.cmake) - add_executable(foo foo.cpp) install(TARGETS foo RUNTIME DESTINATION bin) -install_pdbs(TARGETS foo DESTINATION bin) diff --git a/examples/static/CMakeLists.txt b/examples/static/CMakeLists.txt index b03d452..7af642d 100644 --- a/examples/static/CMakeLists.txt +++ b/examples/static/CMakeLists.txt @@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.8) project(example_static) -include(../../common.cmake) - add_library(bar bar.cpp) target_include_directories(bar PUBLIC .) @@ -11,4 +9,3 @@ add_executable(foo foo.cpp) target_link_libraries(foo PRIVATE bar) install(TARGETS foo bar RUNTIME DESTINATION bin ARCHIVE DESTINATION lib) -install_pdbs(TARGETS foo DESTINATION bin) -- cgit v1.3