1. write CMakeLists.txt
project (HELLO)
#add_subdirectory (Hello)
#create lib
#add_library (HelloLib 30.cpp)
#include_directories (${HELLO_SOURCE_DIR}/Hello)
#link_directories (${HELLO_BINARY_DIR}/Hello)
#add_executable (helloDemo demo.cxx demo_b.cxx)
#target_link_libraries (helloDemo Hello)
add_executable (helloDemo 30.cpp)
#target_link_libraries (helloDemo Hello)
2. write your cpp files
3. run cmake ui