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 mammoth glacier denali_stub 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 denali_stub mammoth ) set_target_properties(yellowstone_yunq PROPERTIES COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}" LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}" )