Archived
1
0

Disable command list when using configurator

This commit is contained in:
Jacob Alexander 2016-05-05 12:57:30 -07:00
parent bfaed8f58c
commit 5eb4ebf02e

View File

@ -145,7 +145,7 @@ endif()
set( CMAKE_EXPORT_COMPILE_COMMANDS ON ) set( CMAKE_EXPORT_COMPILE_COMMANDS ON )
#| Make sure symlink exists (for convenience) #| Make sure symlink exists (for convenience)
if ( UNIX ) if ( UNIX AND NOT DEFINED CONFIGURATOR )
# Make sure symlink is created immediately # Make sure symlink is created immediately
execute_process ( COMMAND ln -sfn ${CMAKE_BINARY_DIR}/compile_commands.json ${CMAKE_SOURCE_DIR}/. ) execute_process ( COMMAND ln -sfn ${CMAKE_BINARY_DIR}/compile_commands.json ${CMAKE_SOURCE_DIR}/. )