Commit ad59e3d5 authored by Kohei Yoshida's avatar Kohei Yoshida

Actually you don't need to always build Boost as static libs.

parent 1c549b83
Pipeline #45195125 passed with stage
in 3 minutes and 57 seconds
......@@ -12,7 +12,6 @@ set(IXION_API_VERSION ${IXION_MAJOR_API_VERSION}.${IXION_MINOR_API_VERSION})
project(ixion VERSION ${IXION_VERSION} LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11)
set(Boost_USE_STATIC_LIBS 1)
find_package(Boost COMPONENTS program_options filesystem)
find_package(Threads)
find_package(Python3)
......
......@@ -15,8 +15,8 @@ command:
in order to build Boost as static libraries. You may want to change the part
`-j 8` which controls the number of concurrent processes to use for your build.
Note that **you must build Boost as static libraries** in order to build Ixion
on Windows.
Note that if you build Boost as dynamic libraries, make sure that the dll
files are in your PATH.
## Clone spdlog and mdds
......@@ -42,9 +42,13 @@ cmake .. -G "Visual Studio 15 Win64" \
-DBOOST_INCLUDEDIR="/path/to/boost" \
-DBOOST_LIBRARYDIR="/path/to/boost/stage/x64/lib" \
-DMDDS_INCLUDEDIR="/path/to/mdds/include" \
-DSPDLOG_INCLUDEDIR="/path/to/spdlog/include"
-DSPDLOG_INCLUDEDIR="/path/to/spdlog/include" \
-DBoost_USE_STATIC_LIBS=1
```
You may skip the last option `-DBoost_USE_STATIC_LIBS=1` if you have built
Boost as dynamic libraries.
Once the configuration is finished, start the build by running:
```bash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment