mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-16 22:27:41 -05:00
* Adding simdjson example * Update README.md Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com> * cmake format --------- Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>
15 lines
373 B
CMake
15 lines
373 B
CMake
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
|
|
|
|
project(CPMSIMDJSONExample)
|
|
|
|
# ---- Dependencies ----
|
|
|
|
include(../../cmake/CPM.cmake)
|
|
CPMAddPackage("gh:simdjson/simdjson@3.5.0")
|
|
|
|
# ---- Executable ----
|
|
|
|
add_executable(CPMSIMDJSONExample main.cpp)
|
|
target_compile_features(CPMSIMDJSONExample PRIVATE cxx_std_17)
|
|
target_link_libraries(CPMSIMDJSONExample simdjson::simdjson)
|