It is cmake tester.
Tests executable, and sub directory module linking.
To practice how to code in vscode, with cmake, and vs2019 cl.exe setup.
It works!
This commands builds program
docker-compose up
This commands builds prog and connects to newly built container
docker-compose run cmm2 sh
Run program with docker-compose
docker-compose run --rm cmm2 ./build/CppCmakeMultimodule
Natively : Teseted with VS2019 CL.exe, with cmake, on vscode.
With dockerizing : Tested on windows 10, with docker toolbox installed.
Other than clion and vscode, we can build as visual studio solution. It will produce familiar .sln, .vcxproj files.
mkdir build
cd build
cmake ..
Then bunch of sln and vcxproj files will be generated. Use that as reference to understand the analogous structure of this cmake styled project, but please do not use it for permanent use. Follow cmake style, please.