summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-01-21 13:51:27 +0100
committerEgor Tensin <egor@tensin.name>2026-01-21 13:51:30 +0100
commitcfa34eacc0369cf09405f4d0cdb16a9422f96c23 (patch)
tree52f0ed6163c37453e9df4539898566a1854e8516
parentcommon.cmake: fix CC_STATIC_RUNTIME w/r/t Boost (diff)
downloadcmake-common-cfa34eacc0369cf09405f4d0cdb16a9422f96c23.tar.gz
cmake-common-cfa34eacc0369cf09405f4d0cdb16a9422f96c23.zip
examples: get rid of common.cmake
This has been done for the boost example anyway, and I'm planning to do this.
-rw-r--r--examples/dynamic/CMakeLists.txt3
-rw-r--r--examples/simple/CMakeLists.txt3
-rw-r--r--examples/static/CMakeLists.txt3
3 files changed, 0 insertions, 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)