File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Intercreate CMake
22
3+ This CMake library adds convenience functions to the build system.
4+
5+ # Include in Your Project
6+
7+ 1 . Add the fetch file to your repo:
8+ ```
9+ wget https://github.com/intercreate/ic-cmake/releases/latest/download/fetch_ic.cmake
10+ ```
11+ 2 . Include and link in your CMakeLists.txt:
12+ ``` cmake
13+ include(fetch_ic.cmake)
14+ ```
15+
316# Tests
417
518```
Original file line number Diff line number Diff line change 66include_guard (GLOBAL )
77
88if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0" )
9- set (download_extract_timestamp " DOWNLOAD_EXTRACT_TIMESTAMP true" )
9+ set (download_extract_timestamp DOWNLOAD_EXTRACT_TIMESTAMP true )
1010endif ()
1111
1212include (FetchContent )
1313
1414FetchContent_Declare (ic_cmake
15- URL https://github.com/intercreate/test -cmake/releases/latest/download/ic .zip
15+ URL https://github.com/intercreate/ic -cmake/releases/latest/download/ic_cmake .zip
1616 ${download_extract_timestamp}
1717)
1818FetchContent_MakeAvailable (ic_cmake)
You can’t perform that action at this time.
0 commit comments