Skip to content

A cmake file to build custom layer of 4coder, also generates compile_commands.json for lsp servers.

License

Notifications You must be signed in to change notification settings

Borwe/4coder_cmake_builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

4coder CMake Builder

Purpose:

Perform super builds of custom layer using cmake, making it less operating system dependent, but simple single cmake script, which also generates a compile_commands.json which is helpful to those who are more familiar with LSP supporting editors, making it easier to parse through 4coder code base, and enjoy, with simple transition into 4coder eventually.

Usage:

  1. Clone the repo into the root of your 4coder directory.

    git clone https://github.com/Borwe/4coder_cmake_builder.git
  2. Run the cmake command to setup build directory for building.

    cmake -Bbuild ./4coder_cmake_builder

    On Windows use the Ninja generator to create the compile_commands.json like

    cmake -GNinja -Bbuild ./4coder_cmake_builder
  3. Go into the build directory and build the project.

    cd build && make
  4. You should now have a compile_commands.json on your root 4coder directory, and an update custom layer library there too.

Contributions:

All contributions are welcome. Post in issue section for any issues.

About

A cmake file to build custom layer of 4coder, also generates compile_commands.json for lsp servers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages