blob: 064214c6ed3ab10d5be69d50184df65dbf5eda7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# This file is part of MXE.
# See index.html for further information.
# partial module - included by src/cmake/CMakeLists.txt
set(TGT test-${PKG}-cmake)
enable_language(CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
find_package(Qt4 ${PKG_VERSION} EXACT REQUIRED)
include(${QT_USE_FILE})
add_executable(${TGT} WIN32 ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.cpp)
target_link_libraries(${TGT} ${QT_LIBRARIES})
install(TARGETS ${TGT} DESTINATION bin)
|