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(