mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2025-04-02 10:21:48 -04:00
33 lines
1.2 KiB
CMake
33 lines
1.2 KiB
CMake
add_library(HLEGraphics OBJECT
|
|
BaseRenderer.cpp
|
|
CachedTexture.cpp
|
|
ConvertImage.cpp
|
|
ConvertTile.cpp
|
|
DLDebug.cpp
|
|
DLParser.cpp
|
|
Microcode.cpp
|
|
RDP.cpp
|
|
RDPStateManager.cpp
|
|
TextureCache.cpp
|
|
TextureInfo.cpp
|
|
TMEM.cpp
|
|
uCodes/Ucode.cpp
|
|
${DISPLAYLIST_DEBUG}
|
|
|
|
)
|
|
|
|
if(DAEDALUS_POSIX)
|
|
set(DISPLAYLIST_DEBUG TextureCacheWebDebug.cpp )
|
|
endif(DAEDALUS_POSIX)
|
|
if(DAEDALUS_GL)
|
|
|
|
message(STATUS "Building HLEGraphics with OpenGL support: ${OPENGL_INCLUDE_DIR} ${GLEW_INCLUDE_DIRS}")
|
|
target_include_directories(HLEGraphics PUBLIC ${OPENGL_INCLUDE_DIR} ${GLEW_INCLUDE_DIRS})
|
|
endif(DAEDALUS_GL)
|
|
|
|
if(DAEDALUS_PROFILE_HLEGRAPHICS)
|
|
target_compile_options(HLEGraphics PRIVATE -pg)
|
|
endif(DAEDALUS_PROFILE_HLEGRAPHICS)
|
|
|
|
list(APPEND daed_libs "HLEGraphics")
|
|
set(daed_libs ${daed_libs} PARENT_SCOPE)
|