Download build/_deps/catch2-src/examples/200-Rpt-CatchMain.cpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 884 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/examples/200-Rpt-CatchMain.cpp
- Command line
-
hf download hf://camenduru/thrust/build/_deps/catch2-src/examples/200-Rpt-CatchMain.cpp
-
curl -L -o 200-Rpt-CatchMain.cpp https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/examples/200-Rpt-CatchMain.cpp
884 Bytes
| // 200-Rpt-CatchMain.cpp | |
| // In a Catch project with multiple files, dedicate one file to compile the | |
| // source code of Catch itself and reuse the resulting object file for linking. | |
| // Let Catch provide main(): | |
| // That's it | |
| // Compile implementation of Catch for use with files that do contain tests: | |
| // - g++ -std=c++11 -Wall -I$(CATCH_ROOT) -DCATCH_EXAMPLE_RPT_1=\"include/reporters/catch_reporter_teamcity.hpp\" -o 200-Rpt-CatchMainTeamCity.o -c 200-Rpt-CatchMain.cpp | |
| // cl -EHsc -I%CATCH_ROOT% -DCATCH_EXAMPLE_RPT_1=\"include/reporters/catch_reporter_teamcity.hpp\" -Fo200-Rpt-CatchMainTeamCity.obj -c 200-Rpt-CatchMain.cpp | |