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 # ---------------------------------------------------------------------------
10 add_library(ScritchUIWin32 SHARED
11 $<TARGET_OBJECTS:BasePIC>
12 $<TARGET_OBJECTS:ScritchUICorePIC>
13 $<TARGET_OBJECTS:ScritchUIFBPIC>
30 if(SQUIRRELJME_ENABLE_FPIC)
31 set_property(TARGET ScritchUIWin32
32 PROPERTY POSITION_INDEPENDENT_CODE ON)
35 # Include main headers
36 target_include_directories(ScritchUIWin32 PUBLIC
37 "${CMAKE_SOURCE_DIR}/include")
39 # ScritchUI requires a normalized library name
40 squirreljme_target_binary_name(ScritchUIWin32
41 "squirreljme-scritchui-win32")