Skip to content

Commit

Permalink
Merge pull request #626 from ethereum/cable
Browse files Browse the repository at this point in the history
Upgrade Cable modules
  • Loading branch information
chfast authored Feb 12, 2022
2 parents 669fcfb + cb090ff commit a79dced
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 487 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if(TARGET evmc)
return()
endif()

include(cmake/cable/bootstrap.cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cable)
include(CableBuildType)
include(CableCompilerSettings)
include(CablePackage)
Expand Down
1 change: 0 additions & 1 deletion cmake/cable/.gitignore

This file was deleted.

99 changes: 0 additions & 99 deletions cmake/cable/CableBuildInfo.cmake

This file was deleted.

13 changes: 10 additions & 3 deletions cmake/cable/CableBuildType.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
# Cable: CMake Bootstrap Library <https://github.com/ethereum/cable>
# Copyright 2018-2019 Pawel Bylica.
# Copyright 2018 Pawel Bylica.
# Licensed under the Apache License, Version 2.0.

# Cable Build Type, version 1.0.0
# Cable Build Type, version 1.0.1
#
# This CMake module helps with setting default build type
# and build configurations for multi-configuration generators.
# Use cable_set_build_type().
#
# CHANGELOG
#
# 1.0.1 - 2021-05-20
# - Fix usage in CMake sub-project.
#
# 1.0.0 - 2020-01-02


if(cable_build_type_included)
Expand Down Expand Up @@ -42,7 +49,7 @@ macro(cable_set_build_type)
endif()
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
endif()
elseif(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) # After the main project().
elseif(PROJECT_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) # After the main project().
message(FATAL_ERROR "cable_set_build_type() must be used before project()")
endif() # Sub-project - silently ignore.
endmacro()
31 changes: 0 additions & 31 deletions cmake/cable/CableToolchains.cmake

This file was deleted.

71 changes: 0 additions & 71 deletions cmake/cable/bootstrap.cmake

This file was deleted.

24 changes: 0 additions & 24 deletions cmake/cable/buildinfo/buildinfo.c.in

This file was deleted.

87 changes: 0 additions & 87 deletions cmake/cable/buildinfo/buildinfo.cmake

This file was deleted.

32 changes: 0 additions & 32 deletions cmake/cable/buildinfo/buildinfo.h.in

This file was deleted.

Loading

0 comments on commit a79dced

Please sign in to comment.