2023-06-08 02:36:59 -07:00
|
|
|
add_executable(denali
|
2023-06-12 19:20:51 -07:00
|
|
|
ahci/ahci_device.cpp
|
2023-06-08 02:36:59 -07:00
|
|
|
ahci/ahci_driver.cpp
|
2023-06-16 01:31:23 -07:00
|
|
|
ahci/command.cpp
|
2023-06-15 16:20:29 -07:00
|
|
|
denali.cpp
|
|
|
|
denali_server.cpp
|
|
|
|
)
|
2023-06-08 02:36:59 -07:00
|
|
|
|
|
|
|
|
|
|
|
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")
|
2023-06-08 02:36:59 -07:00
|
|
|
|
|
|
|
target_link_libraries(denali
|
|
|
|
cxx
|
|
|
|
mammoth_lib
|
|
|
|
)
|
|
|
|
|
|
|
|
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(libdenali
|
|
|
|
client/denali_client.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(libdenali
|
|
|
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
|
|
|
|
|
|
|
target_link_libraries(libdenali
|
|
|
|
mammoth_lib)
|
|
|
|
|
|
|
|
set_target_properties(libdenali PROPERTIES
|
|
|
|
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
|
|
|
|
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
|
|
|
|
)
|