none
Visual studio 2017 and cmake (WSL) RRS feed

  • Question

  • Hello.

    My question is about a project in C ++ and working with a remote(WSL or VirtualBox) machine(Ubuntu16.04, Debian9.5).

    1. My projects has this structure:

    Lib1
    Lib2
    Lib3
    Lib4
    Lib5

    Folder(project1) with cmake project file for project1, his structure:

    add_subdirectory(Lib1)
    add_subdirectory(Lib2)
    add_subdirectory(Lib4)

    Folder(project2) with cmake project file for project2, his structure:

    add_subdirectory(Lib3)
    add_subdirectory(Lib4)
    add_subdirectory(Lib5)

    I think it’s clear why project(smake) files are allocated in separate directories.

    Question: How can I open only the project what I need, not open folder with subprojects that I do not need?

    2. Next problem of working with boost.

    I install a package with boost on the WSL or VirtualBox.After that, the studio should be synchronized with the fact that the system has appeared to have a boost, and the studio should see the paths to the library and header files.
    This is not happening.

    Question: how to solve it?
    For example, in IDE CLion it all works.
    Thanks for the help in solving.



    Monday, October 22, 2018 10:08 AM

Answers

All replies