Cemu/src/gui/CMakeLists.txt

30 lines
795 B
CMake
Raw Normal View History

2022-08-22 22:21:23 +02:00
project(CemuGui)
include_directories(".")
file(GLOB_RECURSE CPP_FILES *.cpp)
file(GLOB_RECURSE H_FILES *.h)
add_library(CemuGui ${CPP_FILES} ${H_FILES})
set_property(TARGET CemuGui PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
target_sources(CemuGui PRIVATE
wxcomponents/checkedlistctrl.cpp
wxcomponents/checkedlistctrl.h
wxcomponents/checktree.cpp
wxcomponents/checktree.h
)
target_precompile_headers(CemuGui PRIVATE ../Common/precompiled.h)
target_include_directories(CemuGui PRIVATE ../)
target_link_libraries(CemuGui ${wxWidgets_LIBRARIES})
target_link_libraries(CemuGui libzip::zip)
target_link_libraries(CemuGui CemuCafe CemuComponents CemuResource)
target_link_libraries(CemuGui zarchive)
if(ENABLE_CUBEB)
target_link_libraries(CemuGui cubeb)
endif()