Skip to content

Commit

Permalink
Merge pull request #6001 from ubirch/mbed-os-5985
Browse files Browse the repository at this point in the history
Corrects intermittent CLion exporter issue with cmake build directory
  • Loading branch information
cmonr committed Feb 7, 2018
2 parents 63201db + e321e98 commit ebb3924
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/export/cmake/CMakeLists.txt.tmpl
Expand Up @@ -103,4 +103,7 @@ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/project.cmake)
INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/project.cmake)
ELSE()
MESSAGE(STATUS "Add a local project.cmake file to add your own targets.")
ENDIF()
ENDIF()

# this will take care of binary directories generated by cmake/clion not to confuse the cli build
FILE(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/.mbedignore" CONTENT "*")

0 comments on commit ebb3924

Please sign in to comment.