requirements.cmake

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
include(FetchContent)

FetchContent_Declare(
        felspar-test
        GIT_REPOSITORY https://github.com/Felspar/test.git
        GIT_TAG main
    )
FetchContent_GetProperties(felspar-test)
if(NOT felspar-test_POPULATED)
    FetchContent_Populate(felspar-test)
    add_subdirectory(${felspar-test_SOURCE_DIR} ${felspar-test_BINARY_DIR})
endif()


FetchContent_Declare(
        felspar-exceptions
        GIT_REPOSITORY https://github.com/Felspar/exceptions.git
        GIT_TAG main
    )
FetchContent_GetProperties(felspar-exceptions)
if(NOT felspar-memory_POPULATED)
    FetchContent_Populate(felspar-exceptions)
    add_subdirectory(${felspar-exceptions_SOURCE_DIR} ${felspar-exceptions_BINARY_DIR})
endif()

FetchContent_Declare(
        felspar-memory
        GIT_REPOSITORY https://github.com/Felspar/memory.git
        GIT_TAG main
    )
FetchContent_GetProperties(felspar-memory)
if(NOT felspar-memory_POPULATED)
    FetchContent_Populate(felspar-memory)
    add_subdirectory(${felspar-memory_SOURCE_DIR} ${felspar-memory_BINARY_DIR})
endif()

FetchContent_Declare(
        felspar-coro
        GIT_REPOSITORY https://github.com/Felspar/coro.git
        GIT_TAG main
    )
FetchContent_GetProperties(felspar-coro)
if(NOT felspar-coro_POPULATED)
    FetchContent_Populate(felspar-coro)
    add_subdirectory(${felspar-coro_SOURCE_DIR} ${felspar-coro_BINARY_DIR})
endif()