Compile fixes.
[SquirrelJME.git] / nanocoat / lib / base / CMakeLists.txt
blob06ebcdd3a6b2ed00c4707612aa0dc72bcde1b48f
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         stream.c
32         streamByte.c
33         streamInflate.c
34         streamMemory.c
35         streamSeekable.c
36         traverse.c
37         tree.c
38         util.c
39         zip.c)
41 # Include main headers
42 squirreljme_multilib_target_include_directories(Base
43         "${CMAKE_SOURCE_DIR}/include")
45 # Base library goes here
46 squirreljme_multilib_target_binary_output(Base
47         "${SQUIRRELJME_DYLIB_OUTPUT_DIR}")
49 # Dynamic linker library is needed
50 squirreljme_multilib_target_link_libraries(Base
51         ${CMAKE_DL_LIBS})