Skip to content

Commit e63d87f

Browse files
committed
wip windows ci
Signed-off-by: Damien Jeandemange <[email protected]>
1 parent 025355a commit e63d87f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: .github/workflows/ci_windows.yml

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
- name: Install Boost
3535
shell: cmd
3636
run: |
37+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
38+
choco install wget --no-progress
3739
wget -nv -O boost-installer.exe %BOOST_URL%
3840
boost-installer.exe /dir=%BOOST_ROOT% /sp- /verysilent /suppressmsgboxes /norestart
3941

Diff for: metrix-simulator/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if(MSVC)
3535
# In release, we prefer speed over size of the code
3636
set(CMAKE_CXX_FLAGS_RELEASE "/O2")
3737
set(CMAKE_C_FLAGS_RELEASE "/O2")
38+
set(Boost_USE_STATIC_RUNTIME ON)
3839
else()
3940
if(NOT CMAKE_BUILD_TYPE)
4041
set(CMAKE_BUILD_TYPE Release)
@@ -47,7 +48,6 @@ endif(MSVC)
4748

4849
set(Boost_USE_STATIC_LIBS ON)
4950
set(Boost_USE_MULTITHREADED ON)
50-
set(Boost_USE_STATIC_RUNTIME ON)
5151
find_package(Boost 1.66.0 REQUIRED COMPONENTS system program_options log filesystem)
5252

5353
option(USE_SIRIUS_SHARED "Use shared library for sirius solver" OFF)

0 commit comments

Comments
 (0)