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 add_library(npapi SHARED
10 $<TARGET_OBJECTS:CorePIC>
13 # The base SquirrelJME core needs to be built
14 add_dependencies(libEmulator
17 # Always make this position independent
18 set_property(TARGET npapi
19 PROPERTY POSITION_INDEPENDENT_CODE ON)
21 # We need to find all of the includes and such
22 target_include_directories(libEmulator PUBLIC
23 "${CMAKE_SOURCE_DIR}/include"
24 "${CMAKE_SOURCE_DIR}/include/3rdparty/npapi")