mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 11:01:01 +02:00
Mostly a quick bandage while I'm setting getting ready to setup the runners to test this for us.
20 lines
533 B
CMake
20 lines
533 B
CMake
add_subdirectory(cpp-optparse/)
|
|
|
|
set(NAME Common)
|
|
set(SRCS
|
|
Config.cpp
|
|
ArgumentLoader.cpp
|
|
EnvironmentLoader.cpp
|
|
StringUtil.cpp)
|
|
|
|
if (NOT MINGW_BUILD)
|
|
list (APPEND SRCS
|
|
FEXServerClient.cpp
|
|
FileFormatCheck.cpp)
|
|
endif()
|
|
|
|
add_library(${NAME} STATIC ${SRCS})
|
|
target_link_libraries(${NAME} FEXCore_Base cpp-optparse tiny-json json-maker FEXHeaderUtils)
|
|
target_include_directories(${NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/External/cpp-optparse/)
|
|
target_include_directories(${NAME} PRIVATE ${CMAKE_BINARY_DIR}/generated)
|