-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
37 lines (31 loc) · 1.08 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
PROJECT (ATS3D C)
set (CMAKE_C_FLAGS "-I. -I/usr/local/include -DATS_MEMALLOC_LIBC")
FIND_PACKAGE (PATS REQUIRED)
IF (NOT PATS_FOUND)
MESSAGE (FATAL_ERROR ”PATS Not Found!”)
ENDIF ()
PATS_COMPILE (TEST_SRC
contrib/GL/SATS/gl.sats
contrib/GLEXT/SATS/glext.sats
contrib/GLFW/SATS/glfw.sats
gl/SATS/glnum.sats
gl/DATS/glnum.dats
gl/SATS/matrix_vt.sats
gl/DATS/gl_matrix_vt.dats
util/SATS/rbtree.sats
util/DATS/rbtree.dats
gl/SATS/core.sats
gl/DATS/core.dats
core_example.dats)
#util/SATS/cont.sats
#util/SATS/number.sats
#util/DATS/cont.dats
#gl/SATS/matrix.sats
#gl/DATS/matrix.dats
#gl/SATS/engine.sats
#gl/DATS/engine.dats
#util/SATS/scene_zipper.sats
#util/DATS/scene_zipper.dats
ADD_EXECUTABLE (ats3d_core_example ${TEST_SRC})
TARGET_LINK_LIBRARIES (ats3d_core_example pthread glfw)