# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. cmake_minimum_required(VERSION 3.13) set(CMAKE_VERBOSE_MAKEFILE on) set(rnoh_picker_generated_dir "${CMAKE_CURRENT_SOURCE_DIR}/generated") file(GLOB_RECURSE rnoh_picker_generated_SRC "${rnoh_picker_generated_dir}/**/*.cpp") file(GLOB rnoh_picker_SRC CONFIGURE_DEPENDS *.cpp) add_library(rnoh_picker SHARED ${rnoh_picker_SRC} ${rnoh_picker_generated_SRC}) target_include_directories(rnoh_picker PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${rnoh_picker_generated_dir} ${CMAKE_CURRENT_SOURCE_DIR}/generated/RNOH/generated) target_link_libraries(rnoh_picker PUBLIC rnoh)