From 00bb0b4ba7a7ceb7d747f729ea2b4996517c9cb9 Mon Sep 17 00:00:00 2001 From: "Genevieve (Genna) Helsel" Date: Fri, 13 Sep 2024 17:28:33 -0700 Subject: [PATCH] add empty eden-config.h.in to replace eden-config.h in getdeps builds Summary: This diffs copies a blank `eden-config.h` file to `eden/common/eden-config.h` so the file will exist at that path if/when it is imported during getdeps builds. This will overwrite the file Reviewed By: jdelliot Differential Revision: D62655322 fbshipit-source-id: 411d1164dd0b16bae12bddbbd7ac9c95518fa009 --- CMake/eden-config.h.in | 8 ++++++++ CMakeLists.txt | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 CMake/eden-config.h.in diff --git a/CMake/eden-config.h.in b/CMake/eden-config.h.in new file mode 100644 index 00000000..f47cc870 --- /dev/null +++ b/CMake/eden-config.h.in @@ -0,0 +1,8 @@ +/* + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This software may be used and distributed according to the terms of the + * GNU General Public License version 2. + */ + +#pragma once diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e741112..75476d30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,11 @@ add_subdirectory(eden/common/telemetry) add_subdirectory(eden/common/testharness) add_subdirectory(eden/common/utils) +configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/CMake/eden-config.h.in + ${CMAKE_CURRENT_SOURCE_DIR}/eden/common/eden-config.h +) + # Install our own CMake package files for dependent projects. include(CMakePackageConfigHelpers) configure_package_config_file(