Closed martyngigg closed 1 year ago
UnitLabel.cppL28: wstring_convert() deprecation warning
More thought is needed as to whether we need this wstring_convert
and so I think resolving this error is separate to this work. I think the error hasn't been spotted in builds with pre-compiled_headers=ON as the Silence statement mentioned in the stacktrace above is already somewhere in our code base.
After building "successfully" with Ninja, workbench.exe does nothing and MantidWorkbench.exe gives the following
Solution: Missing Mantid.properties file. I copied one over but this should be added to the build directory by default.
Describe the outcome that is desired.
On the Windows platform we would like to be able to use a caching compiler such as
ccache
orsccache
. The former gained Windows support in version 4.6.Describe the proposed solution
While the caching compilers say they support msbuild we have not managed to get this to work. They all seem to work out of the box if Ninja is used to build the code. This task is to ensure the Mantid codebase can be compiled using the
Ninja
CMake generator on Windows and also without precompiled headers. There are several components to this.Note: This should all be done inside a Conda environment and will not use visual studio.
Tasks:
-DUSE_PRECOMPILED_HEADERS=OFF
https://github.com/mantidproject/mantid/pull/34033-G Ninja
on windows conda env https://github.com/mantidproject/mantid/pull/34467 This includes running tests and running the main program as withNinja
there is no-C
option required for CTest for example.To build with Ninja:
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DUSE_PRECOMPILED_HEADERS=OFF ..
cmake --build .