Clone of official tools
export/cmake/README.md@47:21ae3e5a7128, 2021-02-04 (annotated)
- Committer:
- Anders Blomdell
- Date:
- Thu Feb 04 17:17:13 2021 +0100
- Revision:
- 47:21ae3e5a7128
- Parent:
- 43:2a7da56ebd24
Add a few normpath calls
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
theotherjimmy |
43:2a7da56ebd24 | 1 | # CLion CMakeLists.txt Generator |
theotherjimmy |
43:2a7da56ebd24 | 2 | |
theotherjimmy |
43:2a7da56ebd24 | 3 | This exporter generates a CMakeLists.txt file that can be used to |
theotherjimmy |
43:2a7da56ebd24 | 4 | develop mbed using [IntelliJ CLion](https://www.jetbrains.com/clion/). |
theotherjimmy |
43:2a7da56ebd24 | 5 | |
theotherjimmy |
43:2a7da56ebd24 | 6 | It will not create a functional CMake build system that mimics the |
theotherjimmy |
43:2a7da56ebd24 | 7 | mbed build system, but rather uses the mbed-cli itself to compile |
theotherjimmy |
43:2a7da56ebd24 | 8 | the targets. The generated files help CLion to understand the |
theotherjimmy |
43:2a7da56ebd24 | 9 | includes and dependencies of your code. |
theotherjimmy |
43:2a7da56ebd24 | 10 | |
theotherjimmy |
43:2a7da56ebd24 | 11 | Run the following command to create/overwrite your CMakeLists.txt. |
theotherjimmy |
43:2a7da56ebd24 | 12 | ``` |
theotherjimmy |
43:2a7da56ebd24 | 13 | mbed export -i cmake_gcc_arm |
theotherjimmy |
43:2a7da56ebd24 | 14 | ``` |
theotherjimmy |
43:2a7da56ebd24 | 15 | > Run the command again if files or libraries have been added or removed. |