Skip to content

Conversation

@stumbles
Copy link
Member

@stumbles stumbles commented Dec 2, 2025

usage. While the default Makefile generator defaults to Unix Makefiles, using Ninja streamlines things a bit. One item being cmake -B will create the out of source directory and no cd required and all operations are done at TLD of source. I have tested this on many, many modules and encountered no issues.

If such is encountered then do something like this in $OPTS; -G "Unix Makefiles".

The cmake_build_target function can be removed. Also I got tired of seeing invalid switches like BUILD_TESTING and SYSCONF_INSTALL_DIR during a compile.

Besides, its my itch.

usage. While the default Makefile generator defaults to Unix Makefiles,
using Ninja streamlines things a bit. One item being cmake -B will create
the out of source directory and no cd required and all operations are done
at TLD of source.  I have tested this on many, many modules and encountered
no issues.

If such is encountered then do something like this in $OPTS; -G "Unix Makefiles".

The cmake_build_target function can be removed. Also I got tired of seeing
invalid switches like BUILD_TESTING and SYSCONF_INSTALL_DIR during a compile.

Besides, its my itch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant