[EOSIO/eos] Did someone build the unit tests alone? (#5323)

Hi, I’m trying to build the unit tests in the ‘unittests’ folder without rebuilding the whole project.
But I’m not familiar with the CMake configs.
The compiler give a very long list of
`undefined reference to …`
My cmakelists.txt file is, :
«`
cmake_minimum_required( VERSION 3.5 )

project( unittest2 )

list(APPEND CMAKE_MODULE_PATH «/home/neverland/eos/libraries/fc/CMakeModules»)
list(APPEND CMAKE_MODULE_PATH «/home/neverland/eos/CMakeModules»)

set(CMAKE_CXX_STANDARD 14)
set(BOOST_ROOT /home/neverland/opt/boost)
set(Boost_INCLUDE_DIR /home/neverland/opt/boost/include)
set(Boost_LIBRARY_DIR /home/neverland/opt/boost/lib)

find_package(Secp256k1 REQUIRED)
find_package(Boost 1.67 REQUIRED COMPONENTS
thread
date_time
filesystem
system
program_options
signals
serialization
chrono
unit_test_framework
context
locale
iostreams)

include(wasm)

find_package(LLVM 4.0 REQUIRED CONFIG)
link_directories(${LLVM_LIBRARY_DIR})

find_package(Boost REQUIRED COMPONENTS unit_test_framework)
include_directories(${Boost_INCLUDE_DIR})
include_directories(/home/neverland/eos/libraries/testing/include)
include_directories(/home/neverland/eos/build/contracts)
include_directories(/home/neverland/eos/libraries/wasm-jit/Include)
include_directories(/home/neverland/eos/libraries/fc/include)
include_directories(/home/neverland/eos/libraries/chain/include)
include_directories(/home/neverland/eos/libraries/chainbase/include)
include_directories(/home/neverland/eos/build/libraries/chain/include)
include_directories(/home/neverland/eos/libraries/softfloat/source/include)

link_libraries(/home/neverland/eos/build/libraries/chain/libeosio_chain.a)
link_libraries(/home/neverland/eos/build/libraries/chainbase/libchainbase.a)
link_libraries(/home/neverland/eos/build/libraries/testing/libeosio_testing.a)
link_libraries(/home/neverland/eos/build/libraries/utilities/libeos_utilities.a)
link_libraries(/home/neverland/eos/build/libraries/abi_generator/libabi_generator.a)
link_libraries(/home/neverland/eos/build/libraries/fc/libfc.a)

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/config.hpp.in ${CMAKE_CURRENT_BINARY_DIR}/include/config.hpp ESCAPE_QUOTES)

add_executable(unittest2 multi_index_tests)
«`