Menu

Gram Engine - Interlude 1.5: Gram Build on Three Platforms
📰

Gram Engine - Interlude 1.5: Gram Build on Three Platforms

DEV Community: cpp·Tiberiu Petre·6 days ago
#PA7Y9yQW
#devtocpp#devto#dev#build#project
Long article (725 words) — no AI summary yet.
Reading 0:00
15s threshold

Drafted with AI assistance from my own notes and code, then edited and fact-checked by me.

To run the ray tracer on three platforms, Gram Build had to do more than pick a compiler. It needed three build modes with different jobs: Debug for development, Release for the game's own tools, and Final for a clean standalone run. It also needed the right compiler for each system.

I wanted one IDE project that could hold both the engine's C++ and Rust code. Along the way, I typed a zero where the O belonged in one optimization setting, and Xcode couldn't find Cargo because it hadn't inherited Terminal's command path.

The final test was on a Legion Go S running SteamOS. The game built and ran there too. The fan had its own review of the Debug build.

The reason I tackled the build first was the ray tracer itself. It was the next engine project that needed to run beyond my Mac. Until then, Gram Build had only one Debug build.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.