mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-12 19:37:01 +00:00
Add all the files
This commit is contained in:
parent
e3db07a16a
commit
d60742f52b
1445 changed files with 430238 additions and 0 deletions
32
src/Common/CMakeLists.txt
Normal file
32
src/Common/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
project(CemuCommon)
|
||||
|
||||
#include_directories(".")
|
||||
|
||||
file(GLOB CPP_FILES *.cpp)
|
||||
file(GLOB H_FILES *.h)
|
||||
add_library(CemuCommon ${CPP_FILES} ${H_FILES})
|
||||
|
||||
set_property(TARGET CemuCommon PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
|
||||
if(WIN32)
|
||||
target_sources(CemuCommon
|
||||
PRIVATE
|
||||
windows/platform.cpp
|
||||
windows/platform.h
|
||||
)
|
||||
else()
|
||||
target_sources(CemuCommon
|
||||
PRIVATE
|
||||
linux/platform.cpp
|
||||
linux/platform.h
|
||||
)
|
||||
endif()
|
||||
|
||||
target_sources(CemuCommon
|
||||
PRIVATE
|
||||
ExceptionHandler/ExceptionHandler.cpp
|
||||
ExceptionHandler/ExceptionHandler.h
|
||||
)
|
||||
|
||||
target_precompile_headers(CemuCommon PUBLIC precompiled.h)
|
||||
target_include_directories(CemuCommon PRIVATE ../)
|
||||
Loading…
Add table
Add a link
Reference in a new issue