Skip to content
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

Goal:Allow someone that uses the cmake_template to have a single varaible file to add exec, sub dirs, and vscode project default #47

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cmdc0de
Copy link

@cmdc0de cmdc0de commented Jun 18, 2023

Allow someone that uses the cmake_template to have a single varaible file to add

  • executables
  • add sub directories
  • set the default vscode project

Thereby not needing to change the cmake files provided by the template. I'm sure there is more to do here but its a start.

  Allow someone that uses the cmake_template to have a single varaible file to add
  * executables
  * add sub directories
  * set the default vscode project

Thereby not needing to change the cmake files provided by the template. I'm sure there is more to do here but its a start.
@cmdc0de cmdc0de changed the title Goal: Goal:Allow someone that uses the cmake_template to have a single varaible file to add exec, sub dirs, and vscode project default Jun 18, 2023
myproject_variables.cmake Outdated Show resolved Hide resolved
@lefticus
Copy link
Member

Does this change would make it hard to use a project from this template in a fetch_contentable way, because of the new unscoped variable? Maybe not?

@cmdc0de
Copy link
Author

cmdc0de commented Mar 18, 2024

Does this change would make it hard to use a project from this template in a fetch_contentable way, because of the new unscoped variable? Maybe not?

the project_variables.cmake file has the same defaults, the goal here was to provide a single .cmake file that allows someone using the template to make change to a single file to name the project appropriately for the user, and set the sub directories for libraries and executables. Otherwise just naming your project something other than "intro" means making several changes to serval files.

Hope that helps!

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.

3 participants