Commit ea7d47f 1 parent 2d3670a commit ea7d47f Copy full SHA for ea7d47f
File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ def _locate_ore_exe(self):
49
49
self .ore_exe = "..\..\\ ..\\ build\\ ore\\ App\\ ore.exe"
50
50
elif os .path .isfile ("..\\ ..\\ ..\\ build\\ ore\\ App\\ RelWithDebInfo\\ ore.exe" ):
51
51
self .ore_exe = "..\\ ..\\ ..\\ build\\ ore\\ App\\ RelWithDebInfo\\ ore.exe"
52
+ elif os .path .isfile ("..\\ ..\\ build\\ App\\ Release\\ ore.exe" ):
53
+ self .ore_exe = "..\\ ..\\ build\\ App\\ Release\\ ore.exe"
52
54
else :
53
55
print_on_console ("ORE executable not found." )
54
56
quit ()
Original file line number Diff line number Diff line change @@ -60,6 +60,12 @@ if(MSVC)
60
60
endif ()
61
61
endif ()
62
62
63
+ # add build/QuantLib as first include directory to make sure we include QL's cmake-configured files
64
+ include_directories ("${PROJECT_BINARY_DIR} /QuantLib" )
65
+
66
+ # similar if QuantLib is build separately
67
+ include_directories ("${CMAKE_CURRENT_LIST_DIR} /../QuantLib/build" )
68
+
63
69
IF (NOT Boost_USE_STATIC_LIBS)
64
70
add_definitions (-DBOOST_ALL_DYN_LINK)
65
71
add_definitions (-DBOOST_TEST_DYN_LINK)
@@ -148,11 +154,7 @@ else()
148
154
# disable warnings from boost
149
155
add_compiler_flag("--system-header-prefix=boost/" supportsSystemHeaderPrefixBoost)
150
156
151
- # add build/QuantLib as first include directory to make sure we include QL's cmake-configured files
152
- include_directories ("${PROJECT_BINARY_DIR} /QuantLib" )
153
-
154
- # similar if QuantLib is build separately
155
- include_directories ("${CMAKE_CURRENT_LIST_DIR} /../QuantLib/build" )
157
+
156
158
endif ()
157
159
158
160
# workaround when building with boost 1.81, see https://github.com/boostorg/phoenix/issues/111
Original file line number Diff line number Diff line change 1
1
mkdir build
2
2
rem amend the BOOST variables to your environment
3
- cmake -G " Visual Studio 17 2022" -A x64 -DBOOST_INCLUDEDIR=%BOOST% -DBOOST_LIBRARYDIR=%BOOST_LIB64% -DENABLE_SESSIONS =ON -B build
3
+ cmake -G " Visual Studio 17 2022" -A x64 -DBOOST_INCLUDEDIR=%BOOST% -DBOOST_LIBRARYDIR=%BOOST_LIB64% -DQL_ENABLE_SESSIONS =ON -B build
4
4
cmake --build build -v --config Release
5
5
pause
You can’t perform that action at this time.
0 commit comments