Lars Melchior ffa310199a remove test log
2019-04-09 16:59:49 +02:00
2019-04-09 16:59:49 +02:00
2019-04-09 16:34:39 +02:00
2019-04-09 15:29:39 +02:00
2019-04-09 16:15:36 +02:00
2019-04-09 15:27:47 +02:00
2019-04-09 16:04:04 +02:00

Build Status

CPM

CPM is a very simple package manager written in Cmake. It is extremely easy to use and drastically simplifies the inclusion of other Cmake-based projects from github.

Usage

To add a new dependency to your project simply add the Projects target name, the git URL and a valid git tag or branch.

cmake_minimum_required(VERSION 3.5 FATAL_ERROR)

project(MyParser)

# add dependencies
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/CPM.cmake)

CPMAddPackage(
  NAME LarsParser
  GIT_REPOSITORY https://github.com/TheLartians/Parser.git
  VERSION 1.2
)

# add executable
set (CMAKE_CXX_STANDARD 17)
add_executable(my-parser my-parser.cpp)
target_link_libraries(cpm-test LarsParser)
Description
📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
Readme MIT 1.8 MiB
Languages
CMake 74.9%
Ruby 24.5%
C++ 0.5%