# libcr/CMakeLists.txt - TODO # # Copyright (C) 2024 Luke T. Shumaker # SPDX-Licence-Identifier: AGPL-3.0-or-later add_library(lib9p INTERFACE) target_include_directories(lib9p SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include) target_sources(lib9p INTERFACE types.c 9p.c srv.c ) target_link_libraries(lib9p INTERFACE libcr_ipc ) set_source_files_properties(types.c PROPERTIES COMPILE_FLAGS -O3)