From 354f0e149a43cba134caaca59ff991440e789d14 Mon Sep 17 00:00:00 2001 From: Babz Date: Mon, 4 Oct 2021 19:48:00 +0200 Subject: [PATCH] cmake export compile commands (.json) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48dd917..16c650e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,13 +1,13 @@ cmake_minimum_required(VERSION 3.18) -# replace this with your project's name project(unshell C ASM) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + include(GenerateG1A) include(GenerateG3A) include(Fxconv) find_package(Gint 2.6.0 REQUIRED) -# include directories, put your .h files in those folders include_directories(include) include_directories(wren/include) include_directories("${FXSDK_COMPILER_INSTALL}/include/openlibm")