1 # ---------------------------------------------------------------------------
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 list(APPEND coreSources
42 # The core library contains the main logic for the virtual machine
44 add_library(Core OBJECT
47 add_library(CorePIC OBJECT
50 # Needs to be position independent when included in other parts
51 set_property(TARGET CorePIC
52 PROPERTY POSITION_INDEPENDENT_CODE ON)
54 # Include main headers
55 target_include_directories(Core PUBLIC
56 "${CMAKE_SOURCE_DIR}/include")
57 target_include_directories(CorePIC PUBLIC
58 "${CMAKE_SOURCE_DIR}/include")
61 squirreljme_doxygen(Core)
63 # Third party support libraries
64 add_subdirectory(3rdparty)