CMake: add headers test
This commit is contained in:
@@ -14,5 +14,6 @@ if(wxUSE_GUI AND wxBUILD_TESTS STREQUAL "ALL")
|
|||||||
|
|
||||||
add_subdirectory(drawing)
|
add_subdirectory(drawing)
|
||||||
add_subdirectory(gui)
|
add_subdirectory(gui)
|
||||||
|
add_subdirectory(headers)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
25
build/cmake/tests/headers/CMakeLists.txt
Normal file
25
build/cmake/tests/headers/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#############################################################################
|
||||||
|
# Name: build/cmake/tests/headers/CMakeLists.txt
|
||||||
|
# Purpose: CMake file for headers test
|
||||||
|
# Author: Maarten Bent
|
||||||
|
# Created: 2020-07-23
|
||||||
|
# Copyright: (c) 2020 wxWidgets development team
|
||||||
|
# Licence: wxWindows licence
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
set(TEST_SRC
|
||||||
|
test.cpp
|
||||||
|
testableframe.cpp
|
||||||
|
allheaders.cpp
|
||||||
|
|
||||||
|
testprec.h
|
||||||
|
testableframe.h
|
||||||
|
allheaders.h
|
||||||
|
)
|
||||||
|
|
||||||
|
wx_add_test(test_headers ${TEST_SRC})
|
||||||
|
wx_exe_link_libraries(test_headers wxcore)
|
||||||
|
if(wxUSE_SOCKETS)
|
||||||
|
wx_exe_link_libraries(test_headers wxnet)
|
||||||
|
endif()
|
||||||
|
wx_test_enable_precomp(test_headers)
|
Reference in New Issue
Block a user