Skip to content

Commit 85bec35

Browse files
committed
bump build number
and also fix naming
1 parent 400288b commit 85bec35

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.24)
22

3-
project(pluginloader VERSION 1.0.0)
3+
project(pluginloader VERSION 1.0.1)
44

55
add_library(_pluginloader_base INTERFACE)
66
set(CMAKE_EXPORT_COMPILE_COMMANDS True)
@@ -9,7 +9,6 @@ target_compile_features(_pluginloader_base INTERFACE cxx_std_20)
99
set_target_properties(_pluginloader_base PROPERTIES
1010
COMPILE_WARNING_AS_ERROR True
1111
INTERPROCEDURAL_OPTIMIZATION True
12-
PREFIX ""
1312
)
1413
if(MSVC)
1514
target_compile_options(_pluginloader_base INTERFACE /W4)
@@ -41,7 +40,11 @@ target_precompile_headers(_pluginloader_base INTERFACE "src/pch.h")
4140

4241
function(pluginloader_add_impl name)
4342
add_library(pluginloader_${name} SHARED ${ARGN})
44-
set_target_properties(pluginloader_${name} PROPERTIES OUTPUT_NAME ${name})
43+
set_target_properties(pluginloader_${name} PROPERTIES
44+
PREFIX ""
45+
OUTPUT_NAME ${name}
46+
SUFFIX ".dll"
47+
)
4548
target_link_libraries(pluginloader_${name} PUBLIC _pluginloader_base)
4649
endfunction()
4750

0 commit comments

Comments
 (0)