From 02732930478027f41590681861b131a1e9ee1030 Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov Date: Sat, 19 Dec 2020 15:16:28 +0300 Subject: create_test_sourcelist: fix typo in placeholder name Rename `CMAKE_FUNCTION_TABLE_{ENTIRES => ENTRIES}`. --- Source/cmCreateTestSourceList.cxx | 2 +- Templates/TestDriver.cxx.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 9d492ba..3001ae0 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -125,7 +125,7 @@ bool cmCreateTestSourceList(std::vector const& args, mf.AddDefinition("CMAKE_TESTDRIVER_ARGVC_FUNCTION", function); } mf.AddDefinition("CMAKE_FORWARD_DECLARE_TESTS", forwardDeclareCode); - mf.AddDefinition("CMAKE_FUNCTION_TABLE_ENTIRES", functionMapCode); + mf.AddDefinition("CMAKE_FUNCTION_TABLE_ENTRIES", functionMapCode); bool res = true; if (!mf.ConfigureFile(configFile, driver, false, true, false)) { res = false; diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in index 053f1ee..3e47d6a 100644 --- a/Templates/TestDriver.cxx.in +++ b/Templates/TestDriver.cxx.in @@ -34,7 +34,7 @@ typedef struct /* NOLINT */ } functionMapEntry; static functionMapEntry cmakeGeneratedFunctionMapEntries[] = { - @CMAKE_FUNCTION_TABLE_ENTIRES@ + @CMAKE_FUNCTION_TABLE_ENTRIES@ { CM_NULL, CM_NULL } /* NOLINT */ }; -- cgit v0.12