Build system: Development / release builds #75

Open
opened 2023-01-11 11:59:06 +01:00 by BodgeMaster · 1 comment

I’m currently looking into Vulkan. As part of that, Vulkan validation layers came up. They are useful when developing, but not so much in a release build so it would be handy to have a way of automatically enabling/disabling them.

Release builds could also skip building dev tools.

This might be realized with something like a build.conf that contains information like whether the current build is a release build, what version it is, endianness, etc.

Alternatively, the build command could be extended to have arguments for that.

Input welcome.

I’m currently looking into Vulkan. As part of that, Vulkan validation layers came up. They are useful when developing, but not so much in a release build so it would be handy to have a way of automatically enabling/disabling them. Release builds could also skip building dev tools. This might be realized with something like a `build.conf` that contains information like whether the current build is a release build, what version it is, endianness, etc. Alternatively, the `build` command could be extended to have arguments for that. Input welcome.

For now adding the FOSSVG_DEBUG macro on the command line where needed.

For now adding the `FOSSVG_DEBUG` macro on the command line where needed.
BodgeMaster added the
Workflow
label 2023-01-27 01:23:55 +01:00
Sign in to join this conversation.
There is no content yet.