Files
melonDS/src/CMakeLists.txt
RSDuck 36075dae5a initial texcache implementation
only works with the sw renderer
2020-03-20 17:49:37 +01:00

38 lines
537 B
CMake

project(core)
add_library(core STATIC
ARM.cpp
ARMInterpreter.cpp
ARMInterpreter_ALU.cpp
ARMInterpreter_Branch.cpp
ARMInterpreter_LoadStore.cpp
Config.cpp
CP15.cpp
CRC32.cpp
DMA.cpp
GPU.cpp
GPU2D.cpp
GPU3D.cpp
GPU3D_OpenGL.cpp
GPU3D_Soft.cpp
GPU3D_TexCache.cpp
NDS.cpp
NDSCart.cpp
OpenGLSupport.cpp
RTC.cpp
Savestate.cpp
SPI.cpp
SPU.cpp
Wifi.cpp
WifiAP.cpp
xxhash/xxhash.c
stb/stb.cpp
)
if (WIN32)
target_link_libraries(core ole32 comctl32 ws2_32 opengl32)
else()
target_link_libraries(core GL EGL)
endif()