9 lines
390 B
CMake
9 lines
390 B
CMake
|
|
add_library(doh src/doh.cpp src/dns.cpp src/logger.cpp src/pub.cpp)
|
||
|
|
target_link_libraries(doh PUBLIC cjson)
|
||
|
|
target_link_libraries(doh PUBLIC maatframe)
|
||
|
|
target_link_libraries(doh PUBLIC common)
|
||
|
|
target_link_libraries(doh PUBLIC http)
|
||
|
|
|
||
|
|
add_executable(dns_test test/dns_test.cpp src/dns.cpp src/pub.cpp)
|
||
|
|
target_link_libraries(dns_test PUBLIC cjson)
|
||
|
|
target_link_libraries(dns_test PUBLIC common)
|