When creating threads allow an Id to be returned as well; For Win32 threading, use...
[SquirrelJME.git] / nanocoat / lib / scritchui / win32 / CMakeLists.txt
blob8b2d1e4744b40d4cbbd0b3e2042088d08c2f2b25
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 add_library(ScritchUIWin32 SHARED
11         $<TARGET_OBJECTS:BasePIC>
12         $<TARGET_OBJECTS:ScritchUICorePIC>
13         $<TARGET_OBJECTS:ScritchUIFBPIC>
14         win32Component.c
15         win32Container.c
16         win32Core.c
17         win32Intern.c
18         win32Label.c
19         win32Laf.c
20         win32Loop.c
21         win32Menu.c
22         win32Panel.c
23         win32Pencil.c
24         win32Screen.c
25         win32ScrollPanel.c
26         win32View.c
27         win32Window.c)
29 # Always make it PIC
30 if(SQUIRRELJME_ENABLE_FPIC)
31         set_property(TARGET ScritchUIWin32
32                 PROPERTY POSITION_INDEPENDENT_CODE ON)
33 endif()
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")