[SOLVED] Adding one solution\project to another solution

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Adding one solution\project to another solution

    Hello,
    when I'm adding any solution or project, e.g. static library, to another solution, e.g. executable, I have manually copy all preprocessor derictives and includes. Is it correct way to use static libraries in SES? It's not very comfortable. Is there any tool (or are there plans to develop this tool in future) to import all preprocessors together with solution when adding to current project?
  • Hello,

    Thank you for your inquiry.
    If you add an existing project to your current solution all project options that you may have set in the original project will be kept on project level and not propagate up into the solution.
    This is simply to not break the existing solution setup and all the other projects that are in that solution.

    So the correct approach would be to move all preprocessor settings and include paths to solution level, so whatever projects you add to your current solution, they will be able to inherit the solution settings.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.