mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
16 lines
594 B
CMake
16 lines
594 B
CMake
|
cmake_minimum_required(VERSION 3.2)
|
||
|
project(xlntarrow)
|
||
|
|
||
|
set(CMAKE_CXX_STANDARD 14)
|
||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||
|
|
||
|
set(XLNT_ARROW
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/xlntarrow.hpp
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/xlntarrow.cpp)
|
||
|
|
||
|
add_library(xlntarrow STATIC ${XLNT_ARROW})
|
||
|
target_link_libraries(xlntarrow PRIVATE xlnt)
|
||
|
target_include_directories(xlntarrow PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||
|
target_include_directories(xlntarrow PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../../../Miniconda3/Library/include)
|
||
|
target_include_directories(xlntarrow PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../include)
|