-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The m-variables provide the same functionality as their template metaprogramming-based version by using macros. This new implementation ensures considerably faster compile times.
- Loading branch information
Showing
8 changed files
with
842 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
cmake_minimum_required(VERSION 3.20) | ||
|
||
project(ExternalPreprocessor NONE) | ||
|
||
include(ExternalProject) | ||
|
||
if(NOT @Preprocessor_CMAKE_FLAGS@ STREQUAL "") | ||
message( | ||
STATUS "Preprocessor additional CMake flags: @Preprocessor_CMAKE_FLAGS@") | ||
endif() | ||
|
||
ExternalProject_Add( | ||
preprocessor-1.84.0-ungar | ||
URL @BUNDLED_PREPROCESSOR_FILENAME@ | ||
URL_HASH | ||
SHA256=6c5a4bf474c1ee5355d426a0a890d96186361eb66b73666bb09dc4062270435f | ||
CMAKE_CACHE_ARGS | ||
-DCMAKE_CXX_STANDARD:STRING=20 | ||
-DCMAKE_INSTALL_PREFIX:STRING=@CMAKE_CURRENT_BINARY_DIR@/preprocessor/install | ||
-DBUILD_TESTING:BOOL=OFF | ||
-DBOOST_PREPROCESSOR_INSTALL:BOOL=ON | ||
@Preprocessor_CMAKE_FLAGS@ | ||
UPDATE_DISCONNECTED 1 | ||
DOWNLOAD_EXTRACT_TIMESTAMP 1) |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.