Merge pull request #10931 from akallabeth/manpage-fix

[client,common] fix manpage generation
This commit is contained in:
akallabeth
2024-12-08 21:40:21 +01:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -25,3 +25,4 @@ std::vector<unsigned char> @CLASSNAME@::init() {
};
return std::vector<unsigned char>(data, data + sizeof(data));
}

View File

@@ -4,6 +4,12 @@ else()
include_directories(${CMAKE_BINARY_DIR}/include/)
add_executable(generate_argument_manpage generate_argument_manpage.c ../cmdline.h)
# Ensure we build with host compiler and no compile/link flags used by other modules.
set_target_properties(
generate_argument_manpage PROPERTIES COMPILE_OPTIONS "" LINK_OPTIONS "" STATIC_LIBRARY_OPTIONS ""
)
export(TARGETS generate_argument_manpage FILE "${CMAKE_BINARY_DIR}/GenerateArgumentManpageConfig.cmake")
endif()