-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
72,895 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
include(FetchContent) | ||
|
||
FetchContent_Declare(fmt | ||
URL https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz | ||
DOWNLOAD_EXTRACT_TIMESTAMP ON | ||
) | ||
FetchContent_MakeAvailable(fmt) | ||
|
||
FetchContent_Declare(nlohmann_json | ||
URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.tar.gz | ||
DOWNLOAD_EXTRACT_TIMESTAMP ON | ||
) | ||
FetchContent_MakeAvailable(nlohmann_json) | ||
|
||
SBEMakeCodec(schema | ||
SCHEMA "${CMAKE_CURRENT_SOURCE_DIR}/../resources/b3-market-data-messages-1.3.1.xml" | ||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/sbe" | ||
GENERATOR "cppng" | ||
) | ||
|
||
add_executable(example) | ||
target_compile_features(example PRIVATE cxx_std_20) | ||
target_compile_options(example PRIVATE -Wall -Wextra -Wattributes -Wpedantic -Wstrict-aliasing -Wcast-align -g) | ||
target_link_libraries(example PRIVATE fmt::fmt schema) | ||
target_sources(example PRIVATE example.cpp) | ||
|
||
add_executable(example_json) | ||
target_compile_features(example_json PRIVATE cxx_std_20) | ||
target_compile_options(example_json PRIVATE -Wall -Wextra -Wattributes -Wpedantic -Wstrict-aliasing -Wcast-align -g) | ||
target_link_libraries(example_json PRIVATE fmt::fmt nlohmann_json::nlohmann_json schema) | ||
target_sources(example_json PRIVATE example_json.cpp) | ||
# FetchContent_Declare(fmt | ||
# URL https://github.com/fmtlib/fmt/archive/refs/tags/11.0.2.tar.gz | ||
# DOWNLOAD_EXTRACT_TIMESTAMP ON | ||
# ) | ||
# FetchContent_MakeAvailable(fmt) | ||
# | ||
# FetchContent_Declare(nlohmann_json | ||
# URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.tar.gz | ||
# DOWNLOAD_EXTRACT_TIMESTAMP ON | ||
# ) | ||
# FetchContent_MakeAvailable(nlohmann_json) | ||
# | ||
# SBEMakeCodec(schema | ||
# SCHEMA "${CMAKE_CURRENT_SOURCE_DIR}/../resources/b3-market-data-messages-1.3.1.xml" | ||
# OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/sbe" | ||
# GENERATOR "cppng" | ||
# ) | ||
# | ||
# add_executable(example) | ||
# target_compile_features(example PRIVATE cxx_std_20) | ||
# target_compile_options(example PRIVATE -Wall -Wextra -Wattributes -Wpedantic -Wstrict-aliasing -Wcast-align -g) | ||
# target_link_libraries(example PRIVATE fmt::fmt schema) | ||
# target_sources(example PRIVATE example.cpp) | ||
# | ||
# add_executable(example_json) | ||
# target_compile_features(example_json PRIVATE cxx_std_20) | ||
# target_compile_options(example_json PRIVATE -Wall -Wextra -Wattributes -Wpedantic -Wstrict-aliasing -Wcast-align -g) | ||
# target_link_libraries(example_json PRIVATE fmt::fmt nlohmann_json::nlohmann_json schema) | ||
# target_sources(example_json PRIVATE example_json.cpp) |
Oops, something went wrong.