Skip to content

A tool generate compile_commands.json from keilMDK`s .uvprojx file.

Notifications You must be signed in to change notification settings

vankubo/uvConvertor

Repository files navigation

uvConvertor

Thanks to:

  • tinyxml2

  • nlohmann/json

  • CLI11

Introduction:

It generate compile_commands.json from .uvprojx and .dep file. So the keil MDK project could be indexed by clangd with vscode.

Usage:

  1. Compile project

  2. Execute Command

uvConvertor-CLI.exe -f <path to .uvprojx file> -o <output path> [-e] <external options>

Build:

Clone Source Code

  • git clone https://github.com/vankubo/uvConvertor.git
  • cd uvConvertor
  • git submodule update --init --recursive

Makefile

It write under C++17,compiled with clang++. You can modify the project in Makefile.

  • Build with cmd line make

Cmake

  • Go into folder build

  • cmake .. -G"Unix Makefiles"

  • make

Visual Studio

  • Go into folder build

  • cmake .. -G"Visual Studio 17 2022"

  • use Visual Studio open main.sln

About

A tool generate compile_commands.json from keilMDK`s .uvprojx file.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •