lyken
a05eb22358
`cargo test -F test` would compile `nac3core/irrt/irrt_test.cpp` targetted to the host machine (it gets to use `std`) and run the test executable.
13 lines
328 B
C++
13 lines
328 B
C++
// This file will be compiled like a real C++ program,
|
|
// and we do have the luxury to use the standard libraries.
|
|
// That is if the nix flakes do not have issues... especially on msys2...
|
|
#include <cstdint>
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
|
|
#include <test/test_core.hpp>
|
|
|
|
int main() {
|
|
test::core::run();
|
|
return 0;
|
|
} |