fysxasteroids/engine/libraries/coll2d/CMakeLists.txt

22 lines
365 B
CMake

PROJECT (COLL2D)
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
# Needed for UnitTest++
LIST( APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake )
SET ( COLL2D_SRCS
src/coll2d.cc
)
INCLUDE_DIRECTORIES ( include ../mathlib/ )
SET_TARGET_PROPERTIES ( ${PROJECT_EXECUTABLES} PROPERTIES
LINKER_LANGUAGE CXX
)
SUBDIRS (tests)
ADD_LIBRARY ( coll2d ${COLL2D_SRCS} )