// The Catch implementation is compiled here. This is a standalone // translation unit to avoid recompiling it for every test change. #include #ifdef _MSC_VER // Silence MSVC C++17 deprecation warning from Catch regarding std::uncaught_exceptions (up to catch // 2.0.1; this should be fixed in the next catch release after 2.0.1). # pragma warning(disable: 4996) #endif #define CATCH_CONFIG_RUNNER #include namespace py = pybind11; int main(int argc, char *argv[]) { py::scoped_interpreter guard{}; auto result = Catch::Session().run(argc, argv); return result < 0xff ? result : 0xff; } able id='header'> cgit logo index : iCE40/nextpnr
[no description]
aboutsummaryrefslogtreecommitdiffstats
blob: 05e6a6f6ca1381d196be0fdf402f1c1387ba5724 (plain)
1
2
3
4
@REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler.
mkdir Debug
cl /nologo /Zi /MD /I .. /I ..\.. /I "%WindowsSdkDir%Include\um" /I "%WindowsSdkDir%Include\shared" /I "%DXSDK_DIR%Include" /D UNICODE /D _UNICODE *.cpp ..\imgui_impl_dx11.cpp ..\imgui_impl_win32.cpp ..\..\imgui*.cpp /FeDebug/example_win32_directx11.exe /FoDebug/ /link /LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d11.lib d3dcompiler.lib