Files
FEX-Emu--FEX/Source/Common/CMakeLists.txt
T
Ryan Houdek edc31fe0a3 FEXConfig: Removes jemalloc usage
Splits out the few required dependencies to a FEXCore_Base static
library.

FEXCore then links to this directly.

Then make it so the FEX Common code links to FEXCore_Base so the
jemalloc dependency doesn't get pulled in.
2021-12-09 17:54:53 -08:00

15 lines
436 B
CMake

set(NAME Common)
set(SRCS
ArgumentLoader.cpp
Config.cpp
EnvironmentLoader.cpp
FileFormatCheck.cpp
RootFSSetup.cpp
StringUtil.cpp
SocketLogging.cpp)
add_library(${NAME} STATIC ${SRCS})
target_link_libraries(${NAME} FEXCore_Base cpp-optparse json-maker)
target_include_directories(${NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/External/cpp-optparse/)
target_include_directories(${NAME} PRIVATE ${CMAKE_BINARY_DIR}/generated)