Get compiling on arch.
This commit is contained in:
parent
22c552b50f
commit
7da1d2d539
7 changed files with 13 additions and 9 deletions
|
@ -17,13 +17,13 @@ macro(integration_tests)
|
|||
set(multiValueArgs FILES FILES_UNIX FILES_WINDOWS DEPENDENCIES)
|
||||
cmake_parse_arguments(UNIT_TESTS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
|
||||
|
||||
set(TARGET_NAME ${UNIT_TESTS_MODULE_NAME}_unit_tests)
|
||||
set(TARGET_NAME ${UNIT_TESTS_MODULE_NAME}_integration_tests)
|
||||
|
||||
set(PLATFORM_FILES)
|
||||
if(UNIX)
|
||||
list(APPEND PLATFORM_FILES ${UNIT_TESTS_UNIX_FILES}
|
||||
list(APPEND PLATFORM_FILES ${UNIT_TESTS_UNIX_FILES})
|
||||
elseif(WIN32)
|
||||
list(APPEND PLATFORM_FILES ${UNIT_TESTS_WIN32_FILES}
|
||||
list(APPEND PLATFORM_FILES ${UNIT_TESTS_WIN32_FILES})
|
||||
endif()
|
||||
|
||||
add_executable(${TARGET_NAME} ${CMAKE_SOURCE_DIR}/test/test_runner.cpp
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <vector>
|
||||
#include <string>
|
||||
#include <optional>
|
||||
#include <cstdint>
|
||||
|
||||
class PrefixCode
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <vector>
|
||||
#include <stdexcept>
|
||||
#include <cstdint>
|
||||
|
||||
std::string UnicodeUtils::utf16ToUtf8String(const std::wstring& input)
|
||||
{
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
class UnicodeUtils
|
||||
{
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "PngInfo.h"
|
||||
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
class PngHeader
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ set (platform_LIBS "")
|
|||
|
||||
if(UNIX)
|
||||
message(STATUS "Checking dependencies for module: window")
|
||||
find_package(X11 QUIET)
|
||||
#Find_package(X11 QUIET)
|
||||
if(X11_FOUND)
|
||||
list(APPEND platform_INCLUDES
|
||||
ui_interfaces/x11/XcbInterface.cpp
|
||||
|
|
|
@ -6,7 +6,7 @@ if (DBUS_FOUND)
|
|||
include_directories(${DBUS_INCLUDE_DIRS})
|
||||
link_directories(${DBUS_LIBRARY_DIRS})
|
||||
set(PLATFORM_UNIT_TEST_FILES
|
||||
ipc/TestDbus.cpp
|
||||
#ipc/TestDbus.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue