From 92db129f16991b8e5b8870b08d96dcfe5749b926 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 25 Feb 2023 19:44:32 +0100 Subject: compilation on windows. --- src/libparser/CMakeLists.txt | 2 ++ src/libparser/node/executionnode.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libparser/CMakeLists.txt b/src/libparser/CMakeLists.txt index a4cfad2..8793d45 100644 --- a/src/libparser/CMakeLists.txt +++ b/src/libparser/CMakeLists.txt @@ -7,6 +7,8 @@ find_package(Qt${QT_VERSION_MAJOR} ${QT_REQUIRED_VERSION} CONFIG COMPONENTS Qml include_directories(${CMAKE_CURRENT_SOURCE_DIR} result node) +set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + set(dice_header_path include/diceparser) set(dice_public_headers ${dice_header_path}/diceparser_global.h diff --git a/src/libparser/node/executionnode.h b/src/libparser/node/executionnode.h index 55b741a..64cc2da 100644 --- a/src/libparser/node/executionnode.h +++ b/src/libparser/node/executionnode.h @@ -2,13 +2,14 @@ #define EXECUTIONNODE_H #include "result/result.h" +#include #include #include /** * @brief The ExecutionNode class */ -class ExecutionNode +class DICEPARSER_EXPORT ExecutionNode { Q_DECLARE_TR_FUNCTIONS(ExecutionNode) public: -- cgit v1.2.3-70-g09d2