melonDS/src/CMakeLists.txt

40 lines
561 B
CMake
Raw Normal View History

2019-04-30 21:16:54 -06:00
project(core)
add_library(core STATIC
ARCodeList.cpp
2020-02-14 11:26:52 -07:00
AREngine.cpp
2019-04-30 21:16:54 -06:00
ARM.cpp
ARMInterpreter.cpp
ARMInterpreter_ALU.cpp
ARMInterpreter_Branch.cpp
ARMInterpreter_LoadStore.cpp
Config.cpp
CP15.cpp
CRC32.cpp
DMA.cpp
GBACart.cpp
2019-04-30 21:16:54 -06:00
GPU.cpp
GPU2D.cpp
GPU3D.cpp
GPU3D_OpenGL.cpp
2019-04-30 21:16:54 -06:00
GPU3D_Soft.cpp
NDS.cpp
NDSCart.cpp
OpenGLSupport.cpp
Platform.h
2019-04-30 21:16:54 -06:00
RTC.cpp
Savestate.cpp
SPI.cpp
SPU.cpp
2020-04-27 14:02:45 -06:00
types.h
version.h
2019-04-30 21:16:54 -06:00
Wifi.cpp
WifiAP.cpp
)
if (WIN32)
2019-05-25 16:46:35 -06:00
target_link_libraries(core ole32 comctl32 ws2_32 opengl32)
else()
2019-05-31 16:27:54 -06:00
target_link_libraries(core GL EGL)
2019-04-30 21:16:54 -06:00
endif()