1 2 3 4 5 6 7 8 9 10 11 12
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) add_executable(AdBlockTest urlfilter/adblocktest.cpp urlfilter/adblocktest.h ) target_include_directories(AdBlockTest PRIVATE ../lib/urlfilter) target_link_libraries(AdBlockTest Qt5::Test urlfilter)