2010-04-05 23:38:59 +02:00
|
|
|
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)
|
|
|
|
|
2010-12-02 10:46:27 +01:00
|
|
|
ADD_LIBRARY ( coll2d SHARED ${COLL2D_SRCS} )
|
2010-04-05 23:38:59 +02:00
|
|
|
|