Commit 8deb1f2e authored by Christophe Geuzaine's avatar Christophe Geuzaine

try to compile hxt in C++ with MSVC

parent 56f5689e
Pipeline #1510 failed with stage
in 33 minutes and 35 seconds
......@@ -55,7 +55,7 @@ windows64_msvc_ci:
script:
- md build
- cd build
- cmake -DGMSH_EXTRA_VERSION=%EXTRA_VERSION:~0,13% -DENABLE_HXT=0 ..
- cmake -DGMSH_EXTRA_VERSION=%EXTRA_VERSION:~0,13% ..
- msbuild package.vcxproj
tags:
- windows64
......
......@@ -1058,13 +1058,16 @@ if(HAVE_SOLVER)
endif(ENABLE_GETDP)
endif(HAVE_SOLVER)
if (ENABLE_HXT)
if(ENABLE_HXT)
set_config_option(HAVE_HXT "Hxt")
add_subdirectory(contrib/hxt)
include_directories(BEFORE contrib/hxt)
endif(ENABLE_HXT)
if(MSVC)
# Visual C++ does not support C99 - force compilation as C++ code
file(GLOB_RECURSE HXT_SRC contrib/hxt/*.c)
set_compile_flags(HXT_SRC "/TP")
endif(MSVC)
endif(ENABLE_HXT)
if(ENABLE_OCC)
set(OCC_MINIMAL_VERSION "6.9.1")
......
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