acadia/sys/denali/CMakeLists.txt

40 lines
875 B
CMake
Raw Normal View History

add_executable(denali
ahci/ahci_device.cpp
ahci/ahci_driver.cpp
ahci/command.cpp
2023-06-15 16:20:29 -07:00
denali.cpp
denali_server.cpp
)
target_include_directories(denali
2023-06-15 16:20:29 -07:00
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
2023-06-19 22:57:08 -07:00
"${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(denali
2023-06-21 18:38:11 -07:00
glacier
mammoth
yellowstone_stub
)
set_target_properties(denali PROPERTIES
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
)
2023-06-19 22:57:08 -07:00
add_library(denali_stub
2023-06-19 22:57:08 -07:00
client/denali_client.cpp
)
target_include_directories(denali_stub
2023-06-19 22:57:08 -07:00
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(denali_stub
mammoth)
2023-06-19 22:57:08 -07:00
set_target_properties(denali_stub PROPERTIES
2023-06-19 22:57:08 -07:00
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
)