Skip to content

Commit db7261d

Browse files
README: properly annotate codeblocks
1 parent 6cedc8a commit db7261d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ subsystem (aka SocketCAN):
5050
#### CMake Project Generator
5151
* Place your build folder anywhere, passing CMake the path. Relative or absolute.
5252
* Some examples using a build folder under the source tree root:
53-
* Android : cmake -DCMAKE_TOOLCHAIN_FILE=~/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-21 -DANDROID_ABI=armeabi-v7a .. && make
54-
* Android Studio : Copy repo under your project's "app" folder, add "add_subdirectory(can-utils)" to your CMakeLists.txt file after "cmake_minimum_required()". Generating project will build Debug/Release for all supported EABI types. ie. arm64-v8a, armeabi-v7a, x86, x86_64.
55-
* Raspberry Pi : cmake -DCMAKE_TOOLCHAIN_FILE=~/rpi/tools/build/cmake/rpi.toolchain.cmake .. && make
56-
* Linux : cmake -GNinja .. && ninja
57-
* Linux Eclipse Photon (Debug) : CC=clang cmake -G"Eclipse CDT4 - Unix Makefiles" ../can-utils/ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_ECLIPSE_VERSION=4.8.0
58-
* To override the base installation directory use: CMAKE_INSTALL_PREFIX
59-
ie. CC=clang cmake -DCMAKE_INSTALL_PREFIX=./out .. && make install
53+
* Android : ``cmake -DCMAKE_TOOLCHAIN_FILE=~/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-21 -DANDROID_ABI=armeabi-v7a .. && make``
54+
* Android Studio : Copy repo under your project's ``app`` folder, add ``add_subdirectory(can-utils)`` to your ``CMakeLists.txt`` file after ``cmake_minimum_required()``. Generating project will build Debug/Release for all supported EABI types. ie. arm64-v8a, armeabi-v7a, x86, x86_64.
55+
* Raspberry Pi : ``cmake -DCMAKE_TOOLCHAIN_FILE=~/rpi/tools/build/cmake/rpi.toolchain.cmake .. && make``
56+
* Linux : ``cmake -GNinja .. && ninja``
57+
* Linux Eclipse Photon (Debug) : ``CC=clang cmake -G"Eclipse CDT4 - Unix Makefiles" ../can-utils/ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_ECLIPSE_VERSION=4.8.0``
58+
* To override the base installation directory use: ``CMAKE_INSTALL_PREFIX``
59+
ie. ``CC=clang cmake -DCMAKE_INSTALL_PREFIX=./out .. && make install``
6060

6161
### Additional Information:
6262

0 commit comments

Comments
 (0)