[mammoth] Rename cmake target to remove _lib

This commit is contained in:
Drew Galbraith 2023-06-26 11:56:09 -07:00
parent 90f33f31c5
commit 380953937f
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
add_library(mammoth_lib STATIC
add_library(mammoth STATIC
src/channel.cpp
src/debug.cpp
src/endpoint_client.cpp
@ -12,16 +12,16 @@ add_library(mammoth_lib STATIC
src/thread.cpp
)
target_include_directories(mammoth_lib
target_include_directories(mammoth
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_link_libraries(mammoth_lib
target_link_libraries(mammoth
glacier
c
zion_lib)
set_target_properties(mammoth_lib PROPERTIES
set_target_properties(mammoth PROPERTIES
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"
LINK_FLAGS "${CMAKE_EXE_LINK_FLAGS} ${BASE_LINK_FLAGS}"
)

View File

@ -13,7 +13,7 @@ target_include_directories(denali
target_link_libraries(denali
glacier
mammoth_lib
mammoth
yellowstonestub
)
@ -31,7 +31,7 @@ target_include_directories(libdenali
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(libdenali
mammoth_lib)
mammoth)
set_target_properties(libdenali PROPERTIES
COMPILE_FLAGS "${CMAKE_CXX_FLAGS} ${BASE_COMPILE_FLAGS}"

View File

@ -7,7 +7,7 @@ target_include_directories(victoriafalls
target_link_libraries(victoriafalls
glacier
mammoth_lib
mammoth
)
set_target_properties(victoriafalls PROPERTIES

View File

@ -8,7 +8,7 @@ add_executable(yellowstone
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(yellowstone
mammoth_lib
mammoth
glacier
libdenali
)