Skip to content

Commit

Permalink
cpp20, stop embedding pegtl, bump to versoin 3.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
camila314 committed Jan 18, 2025
1 parent 0183881 commit 8fcfa3e
Show file tree
Hide file tree
Showing 212 changed files with 4 additions and 14,910 deletions.
10 changes: 4 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(Broma LANGUAGES C CXX)

include(cmake/get_cpm.cmake)

CPMAddPackage("gh:gulrak/filesystem#3e5b930")
CPMAddPackage("gh:taocpp/PEGTL#3.2.8")

add_library(Broma ${CMAKE_CURRENT_SOURCE_DIR}/src/broma.cpp)

target_compile_features(Broma PUBLIC cxx_std_17)
target_compile_features(Broma PUBLIC cxx_std_20)
target_include_directories(Broma PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)

add_subdirectory(PEGTL-3.2.7)

target_link_libraries(Broma PUBLIC taocpp::pegtl ghc_filesystem)
target_link_libraries(Broma PUBLIC taocpp::pegtl)

add_executable(Broma-test ${CMAKE_CURRENT_SOURCE_DIR}/test/test.cpp)
target_link_libraries(Broma-test PRIVATE Broma)
84 changes: 0 additions & 84 deletions PEGTL-3.2.7/.clang-format

This file was deleted.

34 changes: 0 additions & 34 deletions PEGTL-3.2.7/.clang-tidy

This file was deleted.

4 changes: 0 additions & 4 deletions PEGTL-3.2.7/.cmake/pegtl-config.cmake.in

This file was deleted.

22 changes: 0 additions & 22 deletions PEGTL-3.2.7/.cmake/test_filesystem.cpp.in

This file was deleted.

2 changes: 0 additions & 2 deletions PEGTL-3.2.7/.codecov.yml

This file was deleted.

39 changes: 0 additions & 39 deletions PEGTL-3.2.7/.github/workflows/android.yml

This file was deleted.

30 changes: 0 additions & 30 deletions PEGTL-3.2.7/.github/workflows/clang-analyze.yml

This file was deleted.

22 changes: 0 additions & 22 deletions PEGTL-3.2.7/.github/workflows/clang-format.yml

This file was deleted.

26 changes: 0 additions & 26 deletions PEGTL-3.2.7/.github/workflows/clang-tidy.yml

This file was deleted.

32 changes: 0 additions & 32 deletions PEGTL-3.2.7/.github/workflows/code-coverage.yml

This file was deleted.

Loading

0 comments on commit 8fcfa3e

Please sign in to comment.