[docker-toolchain] Control of project folder mounting

Dear all,

I'm trying to use the docker toolchain for development. This works fine, so far, except for one thing:

According to documentation:

The project folder will mounted to the Docker container and building, running, and debugging will be performed in it. CLion will start the container and shut it down after the command is executed. The project folder will be mounted into the /tmp/ProjectFolder directory in the container.

Is there any way to control this behavior? We have lots and lots of projects that have a shared folder of config headers one directory level above the CMakeLists's dir.

add_subdirectory( ../libs libs )

Which cannot be found due to the way the project structure is mounted.

EDIT: I also tried to change the project root, but that doesn't affect the docker toolchain, it would seem.

Kind regards,

Olaf

 

Please sign in to leave a comment.