-
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
akokoshn
committed
Apr 3, 2024
1 parent
77c8c13
commit f698a5d
Showing
11 changed files
with
563 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "assigner"] | ||
path = libs/assigner | ||
url = https://github.com/NilFoundation/evm1-assigner |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if(NOT Boost_FOUND) | ||
find_package(Boost COMPONENTS REQUIRED filesystem log log_setup program_options thread system) | ||
endif() | ||
if (ENABLE_ASSIGNER) | ||
add_subdirectory(assigner) | ||
endif() |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# SSZ++ requires C++23 | ||
set(CMAKE_CXX_STANDARD 23) | ||
set(CMAKE_CXX_STANDARD_REQUIRED True) | ||
|
||
set(TARGET_NAME assigner) | ||
set(SOURCES | ||
src/main.cpp) | ||
|
||
add_executable(${TARGET_NAME} ${SOURCES}) | ||
|
||
set(ASSIGNER_INCLUDES /var/empty/local/include) | ||
set(ASSIGNER_LIBS /var/empty/local/lib) | ||
target_include_directories(${TARGET_NAME} | ||
PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../libs/data_types/include> | ||
$<$<BOOL:${Boost_FOUND}>:${Boost_INCLUDE_DIRS}> | ||
${ASSIGNER_INCLUDES}) | ||
|
||
target_link_directories(${TARGET_NAME} PRIVATE ${ASSIGNER_LIBS}) | ||
target_link_libraries(${TARGET_NAME} PRIVATE evmone zkEVMDataTypes ${Boost_LIBRARIES}) |
Oops, something went wrong.