CMake build directory

Sysprogs forums Forums VisualGDB CMake build directory

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29984
    adellis
    Participant

    Hi,

    I was using the standard MSBuild system but wanted to convert to CMake so I could auto build with GitLab CI. I can get the project to build OK with CMake but the output directory is in my source code directory. I’ve tried changing various items in the CMake build settings but can’t see to move it. If I look at the project variables a lot of them seem to be the same, so ProjectDir is the same as SourceDir and LocalSourceDir and BuildDir.

    Can I change these project variables or is there a CMake setting to change the build directory?

    Thanks in advance

    Adrian

    #30001
    support
    Keymaster

    Hi,

    No problem. You can set the output directory for CMake projects via VisualGDB Project Properties -> CMake Build Settings -> Binary Directory.

    You can read more about Advanced CMake projects here: https://visualgdb.com/documentation/projects/cmake/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.