Skip to content

Commit

Permalink
🔨⚗️ [CI] Experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Jan 15, 2024
1 parent 9dfc4bb commit 9757a67
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,34 @@

auto main() -> int
{
#ifdef _WIN32
std::cout << "Windows" << std::endl;
#endif

#ifdef __linux__
std::cout << "Linux" << std::endl;
#endif

#ifdef __APPLE__
std::cout << "macOS" << std::endl;
#endif
#ifdef _MSC_VER
std::cout << "MSVC" << std::endl;
#endif

#ifdef __GNUC__
std::cout << "GCC" << std::endl;
#endif

#ifdef __clang__
std::cout << "Clang" << std::endl;
#endif
#ifndef NDEBUG
std::cout << "Debug" << std::endl;
#else
std::cout << "Release" << std::endl;
#endif

{
std::filesystem::path const& path = exe_path::exe();
assert(!path.empty());
Expand Down

0 comments on commit 9757a67

Please sign in to comment.