Skip to content

Added options.cmake, with CMAKE_EXPORT_COMPILE_COMMANDS ON #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

robermorales
Copy link

This commit solves #170

It adds one options.cmake file to allow for flags configuration. The only flag added so far is CMAKE_EXPORT_COMPILE_COMMANDS

To test:

$ cmake -S all -B build/
$ find . -name compile_commands.json
./build/compile_commands.json

This commit solves TheLartians#170

It adds one options.cmake file to allow for flags configuration.
The only flag added so far is CMAKE_EXPORT_COMPILE_COMMANDS

To test:

cmake -S all -B build/
find . -name compile_commands.json
--> ./build/compile_commands.json
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