-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from petiaccja/refactor
large refactoring
- Loading branch information
Showing
104 changed files
with
4,346 additions
and
4,219 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,12 +1,22 @@ | ||
add_library(SEDManager) | ||
add_library(EncryptedDevice) | ||
|
||
target_compile_features(SEDManager PRIVATE cxx_std_20) | ||
target_compile_features(EncryptedDevice PRIVATE cxx_std_20) | ||
|
||
target_sources(SEDManager | ||
target_sources(EncryptedDevice | ||
PRIVATE | ||
EncryptedDevice.cpp | ||
EncryptedDevice.hpp | ||
) | ||
|
||
target_include_directories(SEDManager INTERFACE "${CMAKE_CURRENT_LIST_DIR}/..") | ||
target_link_libraries(SEDManager TrustedPeripheral) | ||
# TODO: ValueToJSON is only used by CLI and C API, it does not belong here. | ||
target_sources(EncryptedDevice | ||
PRIVATE | ||
ValueToJSON.cpp | ||
ValueToJSON.hpp | ||
) | ||
|
||
target_include_directories(EncryptedDevice INTERFACE "${CMAKE_CURRENT_LIST_DIR}/..") | ||
target_link_libraries(EncryptedDevice TrustedPeripheral) | ||
|
||
find_package(nlohmann_json) | ||
target_link_libraries(EncryptedDevice nlohmann_json::nlohmann_json) |
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
Oops, something went wrong.