Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set up executable

  1. Write cpp and hpp files and put them at correct places
  2. 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
  1. mkdir build && cd build
  2. cmake ..
  3. make
  4. cd ../bin
  5. ./main

About

A template repo for cpp project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages