- Write cpp and hpp files and put them at correct places
- Add important variables in CmakeLists
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin) # Set export directory
set(TARGET_NAME main) # Add the executable target
mkdir build && cd buildcmake ..makecd ../bin./main