aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-07-01 18:33:27 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-07-01 18:33:27 +0200
commitcbffd55f206ccaf99657af6a5bd2cecc94742b4a (patch)
tree2f28f3a309590fb55bca5cde20f101690d66c669
parentCode cleanup (diff)
downloadsmolbote-cbffd55f206ccaf99657af6a5bd2cecc94742b4a.tar.xz
Include boost in ConfigurationEditor
-rw-r--r--doc/Windows.md19
-rw-r--r--plugins/ConfigurationEditor/CMakeLists.txt1
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/Windows.md b/doc/Windows.md
new file mode 100644
index 0000000..aee65b3
--- /dev/null
+++ b/doc/Windows.md
@@ -0,0 +1,19 @@
+~~~
+set INSTALL_DIR="C:\projects\smolbote-install"
+mkdir %INSTALL_DIR%
+
+mkdir C:\projects\smolbote-build
+cd C:\projects\smolbote-build
+
+set QT="C:\Qt\5.11.0\msvc2017_64"
+set BOOST_ROOT="C:\Libraries\boost_1_66_0"
+set BOOST_LIBDIR="C:\Libraries\boost_1_66_0\lib64-msvc-14.1"
+cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR% -DCMAKE_PREFIX_PATH=%QT%;%BOOST_ROOT% -DBOOST_ROOT=%BOOST_ROOT% -DBOOST_LIBRARYDIR=%BOOST_LIBDIR% -DBoost_USE_STATIC_LIBS=On C:\projects\smolbote-hg
+cmake --build . --target poi --config Release
+cmake --build . --target install --config Release
+cd %INSTALL_DIR%
+C:\Qt\5.10.1\msvc2017_64\bin\windeployqt.exe bin\poi.exe
+
+7z a C:\projects\smolbote-hg\smolbote.7z %INSTALL_DIR%
+~~~
+
diff --git a/plugins/ConfigurationEditor/CMakeLists.txt b/plugins/ConfigurationEditor/CMakeLists.txt
index 65a452c..2d97cc5 100644
--- a/plugins/ConfigurationEditor/CMakeLists.txt
+++ b/plugins/ConfigurationEditor/CMakeLists.txt
@@ -15,6 +15,7 @@ add_library(ConfigurationEditorPlugin SHARED
target_include_directories(ConfigurationEditorPlugin
PRIVATE ..
PRIVATE ${CMAKE_SOURCE_DIR}/lib/configuration
+ PRIVATE ${Boost_INCLUDE_DIRS}
)
target_link_libraries(ConfigurationEditorPlugin