1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 18:09:09 +00:00

Add: [CMake] Always export compile commands (#8199)

This commit is contained in:
Frédéric Simonis
2020-06-12 16:33:04 +02:00
committed by GitHub
parent 8ef3d8f584
commit fb7723a9d7

View File

@@ -91,6 +91,8 @@ endif (MSVC)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS NO)
set(CMAKE_EXPORT_COMPILE_COMMANDS YES)
list(APPEND GENERATED_SOURCE_FILES "${CMAKE_BINARY_DIR}/generated/rev.cpp")
if (WIN32)
list(APPEND GENERATED_SOURCE_FILES "${CMAKE_BINARY_DIR}/generated/ottdres.rc")