lib cmake 增加message
parent
ac50a02b41
commit
23ba17708a
|
|
@ -4,7 +4,7 @@ file(GLOB Sources "sub/*.c")
|
|||
|
||||
add_library(${PROJECT_NAME} ${Sources})
|
||||
add_library(sub::lib1 ALIAS ${PROJECT_NAME})
|
||||
|
||||
message(STATUS, "lib with ${PROJECT_NAME}")
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PUBLIC ${PROJECT_SOURCE_DIR}/sub
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue