diff options
| author | Jan200101 <sentrycraft123@gmail.com> | 2025-06-07 11:23:11 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-06-08 23:51:31 +0300 |
| commit | f3c29ecbab2fa9fd05f38a99b0d7ade68673be72 (patch) | |
| tree | c2a3a8d66bae49d16e464441a70c9b50fc117ad6 /test cases/common | |
| parent | c8432df30edea96557db871d67c731537654afbf (diff) | |
| download | meson-f3c29ecbab2fa9fd05f38a99b0d7ade68673be72.tar.gz | |
add unittest for cmake preprocessing
it uses the existing 14 configure file test case to configure
config 7 and 10 with cmake and meson and then compares the
relevant output to see if they are equal
Diffstat (limited to 'test cases/common')
| -rw-r--r-- | test cases/common/14 configure file/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/14 configure file/CMakeLists.txt b/test cases/common/14 configure file/CMakeLists.txt new file mode 100644 index 000000000..6a894b0f8 --- /dev/null +++ b/test cases/common/14 configure file/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 3.12) + +project("configure file test" LANGUAGES C) + +set("var1" "foo") +set("var2" "bar") +configure_file("config7.h.in" "config7.h") + +set("var" "foo") +configure_file("config10.h.in" "config10.h") |
