mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
18 lines
544 B
CMake
18 lines
544 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(cxxtest)
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
include(ExternalProject)
|
|
ExternalProject_Add(cxxtest-download
|
|
GIT_REPOSITORY https://github.com/CxxTest/cxxtest
|
|
CONFIGURE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND "")
|
|
|
|
set(CXXTEST_ROOT_DIR ${CMAKE_CURRENT_BINARY_DIR}/cxxtest-download-prefix/src/cxxtest-download)
|
|
set(CXXTEST_INCLUDE_DIR ${CXXTEST_ROOT_DIR})
|
|
set(CXXTEST_PYTHON_TESTGEN_EXECUTABLE ${CXXTEST_ROOT_DIR}/bin/cxxtestgen CACHE INTERNAL "" FORCE)
|
|
|