diff options
| author | liuxueli <[email protected]> | 2020-06-30 17:35:14 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-06-30 17:35:14 +0800 |
| commit | 2b02b633126c99879ed4ef9513b31c010d60e453 (patch) | |
| tree | f744870962c42624152fffbce2356297686b9549 | |
| parent | a19b0db52bc8a681e89902f0ce4f8f0304945ee3 (diff) | |
不再安装dns_testv2.0.5
| -rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ea7f7dc..5ca1afc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,15 +57,15 @@ install(FILES bin/dns.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/conf/dns COMPONEN install(FILES include/dns.h DESTINATION /opt/MESA/include/MESA COMPONENT HEADER) -file(GLOB DEMO - "test/src/*.c" -) +#file(GLOB DEMO +# "test/src/*.c" +#) -add_library(dns_test SHARED ${DEMO}) -set_target_properties(dns_test PROPERTIES PREFIX "") -target_link_libraries(dns_test ${DNS_DEPEND_DYN_LIB}) +#add_library(dns_test SHARED ${DEMO}) +#set_target_properties(dns_test PROPERTIES PREFIX "") +#target_link_libraries(dns_test ${DNS_DEPEND_DYN_LIB}) -install(TARGETS dns_test LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT LIBRARY) -install(FILES test/bin/dns_test.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT PROFILE) +#install(TARGETS dns_test LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT LIBRARY) +#install(FILES test/bin/dns_test.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/dns_test COMPONENT PROFILE) include(Package) |
