From 9bcd7b534b7dc9f9c0251c21b15c0ba44d4d1eb6 Mon Sep 17 00:00:00 2001 From: Alex James Date: Sat, 12 Oct 2019 14:12:03 -0500 Subject: [PATCH] CMake: Generate compilation database --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f572de4b00..3cabeba79a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,4 +81,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${PROJECT_BINARY_DIR}/bin") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${PROJECT_BINARY_DIR}/bin") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${PROJECT_BINARY_DIR}/bin") +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + add_subdirectory(rpcs3)