Skip to content

Commit a3c7ebb

Browse files
committed
Reduce Cmake project to a bare minium CMakeLists.txt
1 parent 1301860 commit a3c7ebb

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

CMake/ystdlib-cpp-config.cmake.in

Lines changed: 0 additions & 7 deletions
This file was deleted.

CMake/ystdlib-cpp-helpers.cmake

Lines changed: 0 additions & 6 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,3 @@ cmake_minimum_required(VERSION 3.16.3)
22
project(YSTDLIB_CPP LANGUAGES CXX)
33

44
set(YSTDLIB_CPP_VERSION "0.0.1" CACHE STRING "Project version.")
5-
6-
# When ystdlib-cpp is included as subproject (i.e. using add_subdirectory(ystdlib-cpp)) in the
7-
# source tree of a project that uses it, installation rules are disabled.
8-
if(NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
9-
option(YSTDLIB_CPP_ENABLE_INSTALL "Enable installation rules" OFF)
10-
else()
11-
option(YSTDLIB_CPP_ENABLE_INSTALL "Enable installation rules" ON)
12-
endif()

0 commit comments

Comments
 (0)