aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libparser
diff options
context:
space:
mode:
Diffstat (limited to 'src/libparser')
-rw-r--r--src/libparser/CMakeLists.txt2
-rw-r--r--src/libparser/node/executionnode.h3
2 files changed, 4 insertions, 1 deletions
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 <diceparser/diceparser_global.h>
#include <diceparser/diceparserhelper.h>
#include <QCoreApplication>
/**
* @brief The ExecutionNode class
*/
-class ExecutionNode
+class DICEPARSER_EXPORT ExecutionNode
{
Q_DECLARE_TR_FUNCTIONS(ExecutionNode)
public: