acadia/sys/yellowstone/CMakeLists.txt

41 lines
921 B
CMake
Raw Normal View History

add_executable(yellowstone
hw/gpt.cpp
hw/pcie.cpp
yellowstone.cpp
yellowstone_server.cpp
)
target_include_directories(yellowstone
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(yellowstone
2023-10-25 20:28:28 -07:00
denali_yunq
mammoth
glacier
yellowstone_yunq
)
set_target_properties(yellowstone PROPERTIES
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
)
add_library(yellowstone_yunq
lib/yellowstone/yellowstone.yunq.cpp
lib/yellowstone/yellowstone.yunq.client.cpp
lib/yellowstone/yellowstone.yunq.server.cpp
)
target_include_directories(yellowstone_yunq
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/lib")
target_link_libraries(yellowstone_yunq
mammoth
)
set_target_properties(yellowstone_yunq PROPERTIES
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
)