Fixes to get Tetris 2002 runnable.
[SquirrelJME.git] / nanocoat / lib / base / CMakeLists.txt
blobe2c37b2dd551022b05bee601596717ae06f604fc
1 # ---------------------------------------------------------------------------
2 # SquirrelJME
3 #     Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
4 # ---------------------------------------------------------------------------
5 # SquirrelJME is under the Mozilla Public License Version 2.0.
6 # See license.mkd for licensing and copyright information.
7 # ---------------------------------------------------------------------------
9 # Declare Base library
10 squirreljme_multilib_add_library(Base
11         alloc.c
12         atomic.c
13         bitStream.c
14         charSeq.c
15         circleBuffer.c
16         closeable.c
17         comparator.c
18         debug.c
19         dylib.c
20         error.c
21         fixed.c
22         frontEnd.c
23         inflate.c
24         list.c
25         listUtil.c
26         multithread.c
27         native.c
28         path.c
29         seekable.c
30         seekableMemory.c
31         stdgone.c
32         stream.c
33         streamByte.c
34         streamInflate.c
35         streamMemory.c
36         streamSeekable.c
37         traverse.c
38         tree.c
39         util.c
40         zip.c)
42 # Include main headers
43 squirreljme_multilib_target_include_directories(Base
44         "${CMAKE_SOURCE_DIR}/include")
46 # Base library goes here
47 squirreljme_multilib_target_binary_output(Base
48         "${SQUIRRELJME_DYLIB_OUTPUT_DIR}")
50 # Dynamic linker library is needed
51 squirreljme_multilib_target_link_libraries(Base
52         ${CMAKE_DL_LIBS})