### CMakeLists.txt build configuration Source: https://github.com/bedrock-dev/mcbestructurefinder/blob/1.18+/CMakeLists.txt Defines the CMake build for the mcbestructurefinder project. Sets C++17 standard, builds the cubiomes library from C sources, builds the bestructure library from C++ sources, links them, and creates a test executable from main.cpp. ```cmake CMAKE_MINIMUM_REQUIRED(VERSION 3.10) project(mcbe_structue) set(CMAKE_CXX_STANDARD 17) set(BIOME_LIB_NAME cubiomes) set(BE_STRUCTUR_LIB_NAME bestructure) include_directories( PUBLIC ${PROJECT_SOURCE_DIR}/cubiomes ${PROJECT_SOURCE_DIR}/ ) add_library( ${BIOME_LIB_NAME} cubiomes/util.c cubiomes/noise.c cubiomes/rng.h cubiomes/layers.c cubiomes/generator.c cubiomes/finders.c cubiomes/biome_tree.c ) add_library( ${BE_STRUCTUR_LIB_NAME} be_random.cpp tools.cpp be_finder.cpp structure.cpp ) target_link_libraries(${BE_STRUCTUR_LIB_NAME} ${BIOME_LIB_NAME}) add_executable(test main.cpp) target_link_libraries(test ${BE_STRUCTUR_LIB_NAME}) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.