Mokona / CppProjectTemplate

Basic C++ Project to help quick start a C++ compiling and testing environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CppProjectTemplate

Basic C++ Project to help quick start a C++ compiling and testing environment.

How to install

Either get the latest version from GitHub or extract the archive to a directory.

Suggested way of manual building:

  • if the directory is named CppProjectTemplate/, create another directory at the same level with the name CppProjectTemplate-build/.
  • in CppProjectTemplate-build/, type cmake ../CppProjectTemplate/.
  • on Linux, you can test type make, on Windows with Visual Studio, open the generated solution file.

Building with QtCreator:

  • Open the CMakeFiles.txt from QtCreator.
  • Choose the build directory when asked.
  • Run CMake when asked.

How to run

CppProjectTemplate creates two executables.

One is the application executable and is named cpp_project_template. It displays a Hello World typical message.

The other is named cpp_project_template_tests and runs the tests.

Both are console application that you can run either from a terminal or from an IDE.

About

Basic C++ Project to help quick start a C++ compiling and testing environment

License:MIT License


Languages

Language:CMake 68.4%Language:C++ 31.6%