GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — SI4-SecTrans/FetchCMocka.cmake at main · Other-Project/SI4-SecTrans
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
Expand file tree/ Copy pathFetchCMocka.cmakeMore file actions 21 lines (18 loc) · 965 Bytes / Copy pathFetchCMocka.cmakeFile metadata and controls21 lines (18 loc) · 965 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 include(FetchContent) # Declare our target. We want the lastest stable version, not the master. # Also specify GIT_SHALLOW to avoid cloning branch we don't care about FetchContent_Declare( cmocka GIT_REPOSITORY https://git.cryptomilk.org/projects/cmocka.git GIT_TAG cmocka-1.1.5 GIT_SHALLOW 1 ) # We want to link to cmocka-static, so we need to set this option before calling the FetchContent_MakeAvailable # We also don't care about example and tests set(WITH_STATIC_LIB ON CACHE BOOL "CMocka: Build with a static library" FORCE) set(WITH_CMOCKERY_SUPPORT OFF CACHE BOOL "CMocka: Install a cmockery header" FORCE) set(WITH_EXAMPLES OFF CACHE BOOL "CMocka: Build examples" FORCE) set(UNIT_TESTING OFF CACHE BOOL "CMocka: Build with unit testing" FORCE) set(PICKY_DEVELOPER OFF CACHE BOOL "CMocka: Build with picky developer flags" FORCE) # Download cmocka, and execute its cmakelists.txt FetchContent_MakeAvailable(cmocka) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |