File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.16)
22project (tmp
3- VERSION 0.9
3+ VERSION 1.0
44 DESCRIPTION "RAII-wrappers for unique temporary files and directories for modern C++"
55 HOMEPAGE_URL "https://github.com/bugdea1er/tmp"
66 LANGUAGES CXX)
Original file line number Diff line number Diff line change 11find_package (Filesystem REQUIRED)
22include (GenerateExportHeader)
33
4- add_library (${PROJECT_NAME} SHARED entry.cpp file.cpp directory .cpp utils.cpp)
4+ add_library (${PROJECT_NAME} entry.cpp file.cpp directory .cpp utils.cpp)
55target_compile_features (${PROJECT_NAME} PUBLIC cxx_std_17)
66target_link_libraries (${PROJECT_NAME} PUBLIC std::filesystem)
77
@@ -10,7 +10,9 @@ set_target_properties(${PROJECT_NAME}
1010 UNITY_BUILD ON
1111 CXX_EXTENSIONS OFF
1212 CXX_VISIBILITY_PRESET hidden
13- VISIBILITY_INLINES_HIDDEN ON )
13+ VISIBILITY_INLINES_HIDDEN ON
14+ VERSION ${PROJECT_VERSION}
15+ SOVERSION ${PROJECT_VERSION_MAJOR} )
1416
1517target_include_directories (${PROJECT_NAME}
1618 PUBLIC "$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include>"
You can’t perform that action at this time.
0 commit comments