config: remove parser/CMakeLists.txt

Summary: It is no longer referred in other CMakeLists files.

Reviewed By: muirdm

Differential Revision: D42021268

fbshipit-source-id: d172a8ecf82c4764fc4477d0391015a3ec89961e
This commit is contained in:
Jun Wu 2022-12-14 14:53:51 -08:00 committed by Facebook GitHub Bot
parent b90a24fedc
commit b8b85e53da

View File

@ -1,36 +0,0 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
rust_static_library(rust_configparser CRATE configparser)
install_rust_static_library(
rust_configparser
EXPORT mercurial
INSTALL_DIR lib
)
add_library(configparser ConfigParser.cpp)
set_target_properties(
configparser
PROPERTIES
PUBLIC_HEADER
ConfigParser.h
)
target_include_directories(configparser PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)
target_link_libraries(
configparser
PRIVATE
rust_configparser
Folly::folly
)
install(
TARGETS configparser
EXPORT mercurial
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
PUBLIC_HEADER DESTINATION "include/eden/scm/lib/config/parser/"
)