no message

master
caiyuzheng 2020-11-15 12:32:38 +08:00
parent 6aa9d42d4d
commit 526c77dd0e
1 changed files with 6 additions and 6 deletions

View File

@ -30,12 +30,12 @@ IF (WIN32)
message("using clang") message("using clang")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
message("using gcc") message("using gcc")
add_custom_command ( #add_custom_command (
TARGET generallib POST_BUILD # TARGET generallib POST_BUILD
COMMAND ar -x # COMMAND ar -x
${CMAKE_CURRENT_SOURCE_DIR}/libd/libevent.a # ${CMAKE_CURRENT_SOURCE_DIR}/libd/libevent.a
COMMENT "package library ar -x ${CMAKE_CURRENT_SOURCE_DIR}/libd/libevent.a " # COMMENT "package library ar -x ${CMAKE_CURRENT_SOURCE_DIR}/libd/libevent.a "
) # )
add_custom_command ( add_custom_command (
TARGET generallib POST_BUILD TARGET generallib POST_BUILD
COMMAND ar rc libgeneral.a *.obj COMMAND ar rc libgeneral.a *.obj