|
@ -1,4 +1,4 @@ |
|
|
cmake_minimum_required(VERSION 3.8.2) |
|
|
cmake_minimum_required(VERSION 3.1) |
|
|
|
|
|
|
|
|
project(AntriebDll) |
|
|
project(AntriebDll) |
|
|
|
|
|
|
|
@ -14,7 +14,8 @@ set(MODULE_FILES |
|
|
|
|
|
|
|
|
add_library(AntriebDll SHARED ${MODULE_FILES}) |
|
|
add_library(AntriebDll SHARED ${MODULE_FILES}) |
|
|
|
|
|
|
|
|
#include(GenerateExportHeader) |
|
|
|
|
|
#generate_export_header(DLib) |
|
|
|
|
|
|
|
|
|
|
|
target_include_directories(AntriebDll PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |
|
|
target_include_directories(AntriebDll PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |
|
|
|
|
|
|
|
|
|
|
|
if("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64") |
|
|
|
|
|
set_target_properties(AntriebDll PROPERTIES SUFFIX ".64.dll") |
|
|
|
|
|
ENDIF() |
|
|