Properly list files in CMakeLists instead of using GLOB (#249)

This commit is contained in:
Maximilian Downey Twiss 2022-09-17 11:24:57 +10:00 committed by GitHub
parent 910cdf4d5c
commit 4a3d02db55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 757 additions and 89 deletions

View file

@ -1,8 +1,17 @@
project(CemuConfig)
file(GLOB CPP_FILES *.cpp)
file(GLOB H_FILES *.h)
add_library(CemuConfig ${CPP_FILES} ${H_FILES})
add_library(CemuConfig
ActiveSettings.cpp
ActiveSettings.h
CemuConfig.cpp
CemuConfig.h
ConfigValue.h
LaunchSettings.cpp
LaunchSettings.h
PermanentConfig.cpp
PermanentConfig.h
PermanentStorage.cpp
PermanentStorage.h
XMLConfig.h
)
set_property(TARGET CemuConfig PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")