kmake is a build tool with live rebuild support for c++ projects.
- generate project files for different IDE's/build systems
kmake.ymlfile based configuration- command line config support
- file watcher with live rebuild
- add/edit/delete files and kmake will add the files to the project and compiles again
- export to directory/zip/tar/tar.gz/...
- assets support
- download assets and libs
- hooks support
- icon generation
- Visual Studio 2019+
- XCode
- Makefile (GCC, Clang, MinGW)
- node.js >=14.14.0
- Windows:
- Visual Studio 2019+
- or MinGW (add it to your env-path)
- Mac:
- Xcode or Clang
- Linux:
- gcc
sudo apt-get install gcc g++ make
- gcc
sudo apt install cmake libxext-dev
sudo apt-get update -ysudo apt install cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
npm i -g kmake(currently not available on npm - will be added in the future)
kmake your_kmake.yml your_project_template output_dir
npm run dev-mac(Xcode - Intel and Apple Silicon)npm run dev-vs(Visual Studio 2019+)npm run dev-mk(Makefile - GCC, Clang, MinGW)
- see
examples/full/kmake.ymlas a full example
-
define strings via command line
kmake --define TEST_DEFINE=\"test\"
-
makefile: building for archs which are not on your system.
- use: install:
gcc-multilibandg++-multilib - on debian/ubuntu use:
sudo apt-get install gcc-multilib g++-multilib
- use: install:
-
Inspect executable
- on Mac:
otool -l BINARY - on Linux:
ldd BINARY
- on Mac:
-
create synlink to kmake.js
sudo ln -s PATH_TO_KMAKE/kmake.js /usr/local/bin/kmake
