chessarbiter/CMakeLists.txt

14 lines
396 B
Text
Raw Normal View History

2022-01-29 11:52:47 +01:00
cmake_minimum_required(VERSION 3.10)
project(chessarbiter)
# Shared library
add_library(chessarbiter SHARED src/Piece.cpp src/Board.cpp src/Fen.cpp src/ChessArbiter.cpp)
include_directories(src/)
# Includes
2022-02-16 11:18:22 +01:00
set(CHESSARBITER_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src PARENT_SCOPE) # To be used by other projects with add_subdirectory()
2022-01-29 11:52:47 +01:00
# Unit tests
enable_testing()
add_subdirectory(./tests)