mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
test
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
# Third Party
|
# Third Party
|
||||||
include_directories(${GTEST_INCLUDE_DIR})
|
|
||||||
|
|
||||||
link_directories(${GTEST_LIB_DIR})
|
|
||||||
|
|
||||||
find_package(GTest REQUIRED)
|
find_package(GTest REQUIRED)
|
||||||
find_package(Qt6 REQUIRED COMPONENTS Core)
|
find_package(Qt6 REQUIRED COMPONENTS Core)
|
||||||
set(CMAKE_AUTOUIC ON)
|
set(CMAKE_AUTOUIC ON)
|
||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
set(CMAKE_AUTORCC ON)
|
set(CMAKE_AUTORCC ON)
|
||||||
|
|
||||||
|
include_directories(${GTEST_INCLUDE_DIR})
|
||||||
|
|
||||||
|
link_directories(${GTEST_LIB_DIR})
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
file(GLOB_RECURSE TEST_SOURCES "*.[hc]pp")
|
file(GLOB_RECURSE TEST_SOURCES "*.[hc]pp")
|
||||||
add_executable(tests ${TEST_SOURCES})
|
add_executable(tests ${TEST_SOURCES})
|
||||||
|
|||||||
Reference in New Issue
Block a user