Tom Willemse
79c1056553
Use an Emacs directory-local variable to specify to ccls where the compilation directory lives, tell CMake to generate the compilation database, and remove bear from the environment. Add clang to the environment for clang-format.
7 lines
115 B
CMake
7 lines
115 B
CMake
cmake_minimum_required(VERSION 2.19)
|
|
|
|
project(Lox C)
|
|
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
add_subdirectory(src)
|