I\'m trying to create a simple project on CLion. It uses CMake (I\'m new here) to generate Makefiles to build project (or some sort of it)
All I need to is transfer
If you want to put the content of example into install folder after build:
example
install
code/ src/ example/ CMakeLists.txt
try add the following to your CMakeLists.txt:
CMakeLists.txt
install(DIRECTORY example/ DESTINATION example)