mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
generic: test build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4433e55536
commit
4bdacc0df9
7 changed files with 15 additions and 13 deletions
|
@ -1,4 +1,7 @@
|
|||
include_directories(..)
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/..
|
||||
..
|
||||
)
|
||||
|
||||
set(interactiveDiffTest_SRCS
|
||||
interactivedifftest.cpp
|
||||
|
|
|
@ -14,6 +14,12 @@ include(CheckFunctionExists)
|
|||
include(CheckLibraryExists)
|
||||
include(CheckTypeSize)
|
||||
|
||||
|
||||
if(ENABLE_TESTING)
|
||||
set(CMAKE_C_VISIBILITY_PRESET "default")
|
||||
set(CMAKE_CXX_VISIBILITY_PRESET "default")
|
||||
endif()
|
||||
|
||||
########### Subfolders ##########
|
||||
|
||||
add_subdirectory(src)
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_BINARY_DIR}/src
|
||||
${CMAKE_SOURCE_DIR}/src/lib
|
||||
${CMAKE_SOURCE_DIR}/src/modes/system
|
||||
${CMAKE_SOURCE_DIR}/src/modes/kernel
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src/lib
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src/modes/system
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src/modes/kernel
|
||||
)
|
||||
|
||||
macro(ksystemlog_unit_tests)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
|
||||
#define QT_GUI_LIB
|
||||
#include <QtTest>
|
||||
#include <QEventLoop>
|
||||
#include <KLocale>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#define QT_GUI_LIB
|
||||
|
||||
#include <time.h>
|
||||
#include <QtTest>
|
||||
#include <KGlobal>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#define QT_GUI_LIB
|
||||
|
||||
#include <QtTest>
|
||||
#include <QObject>
|
||||
#include <QFile>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#define QT_GUI_LIB
|
||||
|
||||
#include <QtTest>
|
||||
#include <QObject>
|
||||
#include <QFile>
|
||||
|
|
Loading…
Add table
Reference in a new issue