nix: set CMake version to 3.30.4

This commit is contained in:
Matias 2024-10-11 16:22:11 +01:00
commit 1b49477c4e
No known key found for this signature in database
GPG key ID: ED35A6AC65A06B69
6 changed files with 36 additions and 15 deletions

22
game/src/game.cxx Normal file
View file

@ -0,0 +1,22 @@
// Global module fragment, where #includes can happen
module;
import std;
export module game;
export class lib
{
public:
lib();
~lib();
void helloworld();
};
lib::lib() = default;
lib::~lib() = default;
void lib::helloworld()
{
std::print("Hello world!\n");
}