malinka
malinka copied to clipboard
Automatic project creation
We can probably automatically configure a project using the project root and some conventional values.
(malinka-define-project
:name "ethereum"
:root-directory "/home/lefteris/ew/cpp-ethereum"
:build-directory "/home/lefteris/ew/cpp-ethereum/build"
:configure-cmd "cmake .. -DCMAKE_BUILD_TYPE=Debug -DHEADLESS=1"
:compile-cmd "make -j4"
:test-cmd "./test/testeth")
root, build, configure, compile seem like ones that can be generalized.
I've just found this library and I am testing right now. I am not sure if it exists but, a nice feature would be to automatically define the project using projectile. Maybe not by default but activated via a variable. Since, project name and root directory can be detected using projectile.