Skip to content

Commit

Permalink
Added CMake.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazeem committed Jun 26, 2020
1 parent dea5aee commit 3febf56
Show file tree
Hide file tree
Showing 20 changed files with 149 additions and 380 deletions.
132 changes: 0 additions & 132 deletions .cproject

This file was deleted.

35 changes: 35 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Build Directories
build

# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
27 changes: 0 additions & 27 deletions .project

This file was deleted.

25 changes: 0 additions & 25 deletions .settings/language.settings.xml

This file was deleted.

18 changes: 18 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.10)

project(GmailArchiver VERSION 0.1.0)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

include_directories(include)
file(GLOB SOURCES "src/*.cpp")

add_executable(GmailArchiver ${SOURCES})

set(CMAKE_PREFIX_PATH /usr/lib/x86_64-linux-gnu/cmake/)
find_package(Boost REQUIRED system)
find_package(cpprestsdk REQUIRED)

target_link_libraries(GmailArchiver PRIVATE Boost::system)
target_link_libraries(GmailArchiver PRIVATE cpprestsdk::cpprest)
Binary file removed Debug/.DS_Store
Binary file not shown.
58 changes: 0 additions & 58 deletions Debug/makefile

This file was deleted.

8 changes: 0 additions & 8 deletions Debug/objects.mk

This file was deleted.

27 changes: 0 additions & 27 deletions Debug/sources.mk

This file was deleted.

Loading

0 comments on commit 3febf56

Please sign in to comment.