xlnt/arrow/xlntpyarrow/CMakeLists.txt

13 lines
307 B
CMake
Raw Normal View History

2017-07-05 07:03:34 +08:00
cmake_minimum_required(VERSION 3.2)
project(xlntpyarrow)
if(NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif()
2017-07-05 07:03:34 +08:00
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/setup.py.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/setup.py")
add_custom_target(xlntpyarrow
COMMAND python setup.py build)