File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION  3.24)
22
3- project (pluginloader VERSION  1.0.0 )
3+ project (pluginloader VERSION  1.0.1 )
44
55add_library (_pluginloader_base INTERFACE )
66set (CMAKE_EXPORT_COMPILE_COMMANDS True )
@@ -9,7 +9,6 @@ target_compile_features(_pluginloader_base INTERFACE cxx_std_20)
99set_target_properties (_pluginloader_base PROPERTIES
1010    COMPILE_WARNING_AS_ERROR True 
1111    INTERPROCEDURAL_OPTIMIZATION  True 
12-     PREFIX  "" 
1312)
1413if (MSVC )
1514    target_compile_options (_pluginloader_base INTERFACE  /W4)
@@ -41,7 +40,11 @@ target_precompile_headers(_pluginloader_base INTERFACE "src/pch.h")
4140
4241function (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)
4649endfunction ()
4750
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments