Doc to use CMakePresets and integration in CLion#3052
Doc to use CMakePresets and integration in CLion#3052JasonMarechal25 wants to merge 11 commits intodevelopfrom
Conversation
Signed-off-by: Jason Marechal <jason.marechal+github@gmail.com>
Signed-off-by: Jason Marechal <jason.marechal+github@gmail.com>
Signed-off-by: Jason Marechal <jason.marechal+github@gmail.com>
Signed-off-by: Jason Marechal <jason.marechal+github@gmail.com>
Signed-off-by: Jason Marechal <jason.marechal+github@gmail.com>
Signed-off-by: Jason Marechal <jason.marechal+github@gmail.com>
Signed-off-by: Jason Marechal <jason.marechal+github@gmail.com>
|
| "CMAKE_CXX_FLAGS": "-fclang-abi-compat=17", | ||
| "CMAKE_INSTALL_PREFIX": "/tmp/deps/install_simulator_debug_docker", | ||
| "CODE_COVERAGE": "OFF" | ||
| //"CMAKE_CXX_INCLUDE_WHAT_YOU_USE": "include-what-you-use" |
There was a problem hiding this comment.
This seems to be invalid JSON format (github highlights it as such)
|
flomnes
left a comment
There was a problem hiding this comment.
It would be nice to make presets for our CI builds, so we can reproduce CI builds more easily
|
|
||
| ```sh | ||
| cd docker/clang | ||
| docker build -t antares/clang:latest . |
There was a problem hiding this comment.
I couldn't find this image on dockerhub, does it exist ?
| ### 2.4. Drawbacks and advantages | ||
|
|
||
| - **Advantage:** You keep your work and dependencies persistent, and can use your favorite editor on the host. | ||
| - **Drawback:** File permissions and line endings may differ between host and container. |
There was a problem hiding this comment.
Yes, that's a major pain point. Last time I tried all files were owned by root on the host machine
| > **Note:** CLion requires the build directory to be inside the source folder. While it is cleaner to keep build output | ||
| > outside (e.g., `/tmp/build`), you must ensure the build directory is within the source tree for full IDE integration. |
There was a problem hiding this comment.
Do symbolic links work ? e.g Antares_Simulator/build -> /tmp/build
|
Hey @JasonMarechal25, is this still relevant? |



No description provided.