82b92c6d8f
Don't look for CppUnit library nor build it any longer, but just use the Catch headers under 3rdparty/catch.
22 lines
641 B
CMake
22 lines
641 B
CMake
#############################################################################
|
|
# Name: build/cmake/tests/CMakeLists.txt
|
|
# Purpose: Build test executables
|
|
# Author: Tobias Taschner
|
|
# Created: 2016-09-24
|
|
# Copyright: (c) 2016 wxWidgets development team
|
|
# Licence: wxWindows licence
|
|
#############################################################################
|
|
|
|
add_subdirectory(base)
|
|
|
|
# Build GUI tests
|
|
if(wxUSE_GUI AND wxBUILD_TESTS STREQUAL "ALL")
|
|
|
|
add_subdirectory(drawing)
|
|
add_subdirectory(gui)
|
|
|
|
endif()
|
|
|
|
# Propagate variable(s) to parent scope
|
|
set(wxTHIRD_PARTY_LIBRARIES ${wxTHIRD_PARTY_LIBRARIES} PARENT_SCOPE)
|