-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakeLists.txt
60 lines (57 loc) · 1.71 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
cmake_minimum_required(VERSION 3.5)
project(Pokopom)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_BUILD_TYPE Release)
ADD_DEFINITIONS(-DUNICODE)
ADD_DEFINITIONS(-D_UNICODE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32 -D_UNICODE -DUNICODE")
if (UNIX)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
endif(UNIX)
set(SOURCE_FILES
Pokopom/Chankast.cpp
Pokopom/Chankast.h
Pokopom/ConfigDialog.cpp
Pokopom/ConfigDialog.h
Pokopom/DebugStuff.cpp
Pokopom/DebugStuff.h
Pokopom/demul.cpp
Pokopom/demul.h
Pokopom/Exports.def
Pokopom/FileIO.cpp
Pokopom/FileIO.h
Pokopom/General.h
Pokopom/Input.h
Pokopom/Input_Linux.cpp
Pokopom/Input_Shared.cpp
Pokopom/Input_Shared.h
Pokopom/Input_XInput.cpp
Pokopom/playstation_codes.h
Pokopom/playstation_devices.h
Pokopom/playstation_dualshock.cpp
Pokopom/playstation_dualshock2.cpp
Pokopom/playstation_guitar.cpp
Pokopom/playstation_mtap.cpp
Pokopom/Pokopom.rc
Pokopom/psemupro.cpp
Pokopom/psemupro.h
Pokopom/PSemuPro_Interface.h
Pokopom/regini.cpp
Pokopom/regini.h
Pokopom/resource.h
Pokopom/Settings.cpp
Pokopom/Settings.h
Pokopom/Stuff.h
Pokopom/Stuff_Linux.cpp
Pokopom/Stuff_Shared.cpp
Pokopom/Stuff_Windows.cpp
Pokopom/TypeDefs.h
Pokopom/Zilmar.cpp
Pokopom/Zilmar_Controller_Interface.h
Pokopom/Zilmar_Devices.cpp
Pokopom/Zilmar_Devices.h)
add_library(padPokopom SHARED ${SOURCE_FILES})
set(CMAKE_EXE_LINKER_FLAGS " -static")
if(WIN32)
target_link_libraries(padPokopom UxTheme.lib)
endif(WIN32)