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

fix: the cmake run command #199

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

Conversation

ZengGengSen
Copy link

1. Use the -S option to specify the source directory
2. Use the -B option to specify the build directory
3. If no target is specified, the build command does
   not know the specific target
4. Add an install instruction at the end

    1. Use the -S option to specify the source directory
    2. Use the -B option to specify the build directory
    3. If no target is specified, the build command does
       not know the specific target
    4. Add an install instruction at the end
    1. The last installation instruction, in the case
       of mul-config, will cause an error and require
       the addition of the parameter --config 'build_type'

    2. The penultimate build instruction used an error
       in --config, which may cause the profile and
       build_type to be unequal
@ZengGengSen
Copy link
Author

fix(cmake): fix the install command error

    1. The last installation instruction, in the case
       of mul-config, will cause an error and require
       the addition of the parameter --config 'build_type'

    2. The penultimate build instruction used an error
       in --config, which may cause the profile and
       build_type to be unequal

@tgross35
Copy link
Contributor

Could you clarify what exactly the problem you are encountering is?

@tgross35 tgross35 added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 19, 2024
@ZengGengSen
Copy link
Author

Could you clarify what exactly the problem you are encountering is?

  1. Not specifying -S and -B can result in the need to recompile the entire project some config,
  2. Some projects do not have an install target, so you must manually specify the target to compile

@tgross35
Copy link
Contributor

Thanks for the clarification, that makes more sense. For reference, do you have an example of what the error output is?

I'll try to take a closer look at this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants