Skip to content

Commit

Permalink
Release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bugdea1er committed Aug 10, 2024
1 parent 8e2f26f commit 0c6a0b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.16)
project(tmp
VERSION 0.9
VERSION 1.0
DESCRIPTION "RAII-wrappers for unique temporary files and directories for modern C++"
HOMEPAGE_URL "https://github.com/bugdea1er/tmp"
LANGUAGES CXX)
Expand Down
6 changes: 4 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
find_package(Filesystem REQUIRED)
include(GenerateExportHeader)

add_library(${PROJECT_NAME} SHARED entry.cpp file.cpp directory.cpp utils.cpp)
add_library(${PROJECT_NAME} entry.cpp file.cpp directory.cpp utils.cpp)
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
target_link_libraries(${PROJECT_NAME} PUBLIC std::filesystem)

Expand All @@ -10,7 +10,9 @@ set_target_properties(${PROJECT_NAME}
UNITY_BUILD ON
CXX_EXTENSIONS OFF
CXX_VISIBILITY_PRESET hidden
VISIBILITY_INLINES_HIDDEN ON)
VISIBILITY_INLINES_HIDDEN ON
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})

target_include_directories(${PROJECT_NAME}
PUBLIC "$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>"
Expand Down

0 comments on commit 0c6a0b1

Please sign in to comment.