abykal / sqlite3cpp

SQLite 3 experiment with modern C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQLite3 with Modern C++

Experiments with Modern C++ -- Todo


CMake Essentials [Nov 2018]

Installation & Setup of CMake and MinGW in Windows

Follow this link

  • Install CMake via setup with path addition
  • Install MinGW and add to path

CMake for projects

  1. create CMakeLists.txt with necessary configuration settings CMake Windows uses Visual Studio Compiler by default. You need to explicitly set gcc compiler if required. ...Basic configuration as below
     cmake_minimum_required(VERSION 3.13)
     set(CMAKE_CXX_COMPILER "C:/MinGW/bin/g++")
     project(program)
     add_executable(program main.cpp)
    
  2. run cmake . generate a makefile from current working directory ...$ cmake .
  3. run make to create the executable file ...$ make
  4. run your program ...$ ./program

About

SQLite 3 experiment with modern C++


Languages

Language:C 100.0%Language:C++ 0.0%Language:CMake 0.0%