From 225c06aff2a088621da3567be047b7c2fdcab7ea Mon Sep 17 00:00:00 2001 From: karutoh Date: Thu, 1 Feb 2024 01:34:38 -0800 Subject: [PATCH] Added description to cmake variable. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1578a59..e647a70 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ 1. `cmake -DCMAKE_BUILD_TYPE=Release -DLINUX_WINDOW_SYSTEM:STRING=XCB /path/to/source` 2. `cmake --build /path/to/build --config Release` +The `LINUX_WINDOW_SYSTEM` variable in the first step can be either `XCB` for the X Window System or `Wayland` for the Wayland Window System. Wayland support is currently not fully supported yet, use only `XCB`. + # Simple Example ```cpp #include @@ -37,7 +39,7 @@ void LogRaised(const ehs::Log& log) ehs::Console::Write_8(result); } -ehs::SInt_32 Main(ehs::Str_8* appName, ehs::Str_8* appVerId, ehs::Version* appVer) +ehs::Int_32 Main(ehs::Str_8* appName, ehs::Str_8* appVerId, ehs::Version* appVer) { // Simple identifying meta-data for the logger. *appName = "Simple Example App"; // The application's name