fix #5985 CLion exporter results in cmake build directory, causes compiler to fail in unexpect...

pull/6056/head
Matthias L. Jugel 2018-02-02 09:51:14 +01:00 committed by adbridge
parent a5cd64eebb
commit 955a077930
1 changed files with 4 additions and 1 deletions

View File

@ -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 "*")