mirror of
https://github.com/resiprocate/resiprocate.git
synced 2026-01-12 00:05:02 +08:00
build: add popt include directory
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
function(manual_test)
|
||||
add_executable(${ARGV})
|
||||
target_include_directories(${ARGV0} PRIVATE ${POPT_INCLUDE_DIRS})
|
||||
target_link_libraries(${ARGV0} dum ${POPT_LIBRARIES})
|
||||
set_target_properties(${ARGV0} PROPERTIES FOLDER resip/Tests)
|
||||
endfunction()
|
||||
|
||||
function(test)
|
||||
test_base(${ARGV})
|
||||
target_include_directories(${ARGV0} PRIVATE ${POPT_INCLUDE_DIRS})
|
||||
target_link_libraries(${ARGV0} dum ${POPT_LIBRARIES})
|
||||
set_target_properties(${ARGV0} PROPERTIES FOLDER resip/Tests)
|
||||
endfunction()
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
function(manual_test)
|
||||
add_executable(${ARGV})
|
||||
target_include_directories(${ARGV0} PRIVATE ${POPT_INCLUDE_DIRS})
|
||||
target_link_libraries(${ARGV0} resip ${POPT_LIBRARIES})
|
||||
set_target_properties(${ARGV0} PROPERTIES FOLDER resip/ManualTests)
|
||||
endfunction()
|
||||
|
||||
function(test)
|
||||
test_base(${ARGV})
|
||||
target_include_directories(${ARGV0} PRIVATE ${POPT_INCLUDE_DIRS})
|
||||
target_link_libraries(${ARGV0} resip ${POPT_LIBRARIES})
|
||||
set_target_properties(${ARGV0} PROPERTIES FOLDER resip/Tests)
|
||||
endfunction()
|
||||
@@ -72,4 +74,5 @@ endif()
|
||||
|
||||
add_fuzzing_executable(fuzzStack fuzzStack.cxx TestSupport.cxx)
|
||||
set_target_properties(fuzzStack PROPERTIES FOLDER resip/Fuzzing)
|
||||
target_include_directories(fuzzStack PRIVATE ${POPT_INCLUDE_DIRS})
|
||||
target_link_libraries(fuzzStack PRIVATE resip ${POPT_LIBRARIES})
|
||||
|
||||
@@ -20,6 +20,7 @@ add_library(tfmrepro
|
||||
${INCLUDES}
|
||||
)
|
||||
|
||||
target_include_directories(tfmrepro PRIVATE ${POPT_INCLUDE_DIRS})
|
||||
target_link_libraries(tfmrepro PUBLIC repro tfm ${POPT_LIBRARIES})
|
||||
version_libname(tfmrepro)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user