This repository was archived by the owner on Aug 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-103
lines changed Expand file tree Collapse file tree 4 files changed +8
-103
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ set(EOSIO_CDT_VERSION_MIN "1.3")
5
5
set (EOSIO_CDT_VERSION_SOFT_MAX "1.3" )
6
6
#set(EOSIO_CDT_VERSION_HARD_MAX "")
7
7
8
- include (CheckVersion.txt)
9
-
10
8
find_package (eosio.cdt)
11
9
12
10
### Check the version of eosio.cdt
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,9 +2,13 @@ include(ExternalProject)
2
2
find_package(Git REQUIRED)
3
3
include(GNUInstallDirs)
4
4
5
+ string(REPLACE ";" "|" TEST_FRAMEWORK_PATH "${CMAKE_FRAMEWORK_PATH}")
6
+ string(REPLACE ";" "|" TEST_MODULE_PATH "${CMAKE_MODULE_PATH}")
7
+
5
8
ExternalProject_Add(
6
9
contracts_unit_tests
7
- CMAKE_ARGS -DCMAKE_BUILD_TYPE=${TEST_BUILD_TYPE} -DEOSIO_ROOT=${EOSIO_ROOT}
10
+ LIST_SEPARATOR | # Use the alternate list separator
11
+ CMAKE_ARGS -DCMAKE_BUILD_TYPE=${TEST_BUILD_TYPE} -DCMAKE_FRAMEWORK_PATH=${TEST_FRAMEWORK_PATH} -DCMAKE_MODULE_PATH=${TEST_MODULE_PATH} -DEOSIO_ROOT=${EOSIO_ROOT}
8
12
SOURCE_DIR ${CMAKE_SOURCE_DIR}/tests
9
13
BINARY_DIR ${CMAKE_BINARY_DIR}/tests
10
14
BUILD_ALWAYS 1
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required ( VERSION 3.5 )
2
2
3
- set (EOSIO_VERSION_MIN "1.3 " )
4
- set (EOSIO_VERSION_SOFT_MAX "1.3 " )
3
+ set (EOSIO_VERSION_MIN "1.4 " )
4
+ set (EOSIO_VERSION_SOFT_MAX "1.4 " )
5
5
#set(EOSIO_VERSION_HARD_MAX "")
6
6
7
- include (../CheckVersion.txt)
8
-
9
- if (EOSIO_ROOT STREQUAL "" OR NOT EOSIO_ROOT)
10
- set (EOSIO_ROOT "/usr/local/eosio" )
11
- endif ()
12
-
13
- list (APPEND CMAKE_MODULE_PATH ${EOSIO_ROOT} /lib/cmake)
14
- include (EosioTester)
7
+ find_package (eosio)
15
8
16
9
### Check the version of eosio
17
10
set (VERSION_MATCH_ERROR_MSG "" )
You can’t perform that action at this time.
0 commit comments