Skip to content

Commit

Permalink
add empty eden-config.h.in to replace eden-config.h in getdeps builds
Browse files Browse the repository at this point in the history
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
  • Loading branch information
genevievehelsel authored and facebook-github-bot committed Sep 14, 2024
1 parent 740234f commit 00bb0b4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMake/eden-config.h.in
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 00bb0b4

Please sign in to comment.