enkiMI
enkiMI copied to clipboard
enkimi is now able to be used as a subdirectory in a cmake project, example now copies dependencies into binary directory
enkiMI target is now able to be used independently of the executable target, how also has an alias target, can be used as a subdirectory, added ability to conditionally include build files for executable example, example target now exists as enkimi_example, and now copies its .mca runtime dependency as part of the build process using CMake, allowing it to execute with out user taking into consideration where the source is.
With out these changes, using this project as a library would not have been able to be used as a subdirectory in cmake, and building the example would not have been possible with out the copying of its runtime dependencies.
Thanks for the PR, I'll take a look at this soon.
Given enkiMI is only 2 source files with no complex options I'd not considered a cmake project to be of much use other than to be able to quickly build the example.
Since it's useful to you (and so perhaps others) I will look into merging this, but I will make changes as for simple projects I prefer only one cmakelists.txt in the root directory to keep the source and example directories 'clean'.