Mercurial > louis > kiibohd-controller
comparison Lib/CMake/build.cmake @ 432:1a2fb67b0237
Disable command list when using configurator
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Thu, 05 May 2016 12:57:30 -0700 |
parents | b5746c43904e |
children |
comparison
equal
deleted
inserted
replaced
431:7bc4c6249dff | 432:1a2fb67b0237 |
---|---|
143 | 143 |
144 #| Generate list of compiler commands for clang-tidy usage | 144 #| Generate list of compiler commands for clang-tidy usage |
145 set( CMAKE_EXPORT_COMPILE_COMMANDS ON ) | 145 set( CMAKE_EXPORT_COMPILE_COMMANDS ON ) |
146 | 146 |
147 #| Make sure symlink exists (for convenience) | 147 #| Make sure symlink exists (for convenience) |
148 if ( UNIX ) | 148 if ( UNIX AND NOT DEFINED CONFIGURATOR ) |
149 # Make sure symlink is created immediately | 149 # Make sure symlink is created immediately |
150 execute_process ( COMMAND ln -sfn ${CMAKE_BINARY_DIR}/compile_commands.json ${CMAKE_SOURCE_DIR}/. ) | 150 execute_process ( COMMAND ln -sfn ${CMAKE_BINARY_DIR}/compile_commands.json ${CMAKE_SOURCE_DIR}/. ) |
151 | 151 |
152 # Also update before each build | 152 # Also update before each build |
153 add_custom_command( TARGET ${TARGET_ELF} POST_BUILD | 153 add_custom_command( TARGET ${TARGET_ELF} POST_BUILD |