1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Move utils filename list into its own subdir.

Now there's a utils/CMakeLists.txt, which contains the huge list of
source files in that directory, so that the top-level file does a
better job of showing the overview.
This commit is contained in:
Simon Tatham 2021-04-18 13:38:50 +01:00
parent 68b9f0822f
commit e6c0fa6ba4
2 changed files with 57 additions and 55 deletions

View File

@ -6,63 +6,9 @@ include(cmake/setup.cmake)
add_compile_definitions(HAVE_CMAKE_H)
add_library(utils STATIC
utils/base64_decode_atom.c
utils/base64_encode_atom.c
utils/bufchain.c
utils/buildinfo.c
utils/burnstr.c
utils/chomp.c
utils/conf.c
utils/conf_dest.c
utils/conf_launchable.c
utils/ctrlparse.c
utils/debug.c
utils/dupcat.c
utils/dupprintf.c
utils/dupstr.c
utils/encode_utf8.c
utils/fgetline.c
utils/host_strchr.c
utils/host_strchr_internal.c
utils/host_strcspn.c
utils/host_strduptrim.c
utils/host_strrchr.c
utils/marshal.c
utils/memory.c
utils/memxor.c
utils/miscucs.c
utils/null_lp.c
utils/nullseat.c
utils/nullstrcmp.c
utils/out_of_memory.c
utils/parse_blocksize.c
utils/prompts.c
utils/ptrlen.c
utils/read_file_into.c
utils/seat_connection_fatal.c
utils/sessprep.c
utils/sk_free_peer_info.c
utils/smemclr.c
utils/smemeq.c
utils/ssh2_pick_fingerprint.c
utils/sshutils.c
utils/strbuf.c
utils/string_length_for_printf.c
utils/stripctrl.c
utils/tree234.c
utils/validate_manual_hostkey.c
utils/version.c
utils/wcwidth.c
utils/wildcard.c
utils/write_c_string_literal.c
utils/x11authfile.c
utils/x11authnames.c
utils/x11_dehexify.c
utils/x11_identify_auth_proto.c
utils/x11_make_greeting.c
utils/x11_parse_ip.c
${GENERATED_COMMIT_C})
add_dependencies(utils cmake_commit_c)
add_subdirectory(utils)
add_library(logging OBJECT
logging.c)

56
utils/CMakeLists.txt Normal file
View File

@ -0,0 +1,56 @@
add_sources_from_current_dir(utils
base64_decode_atom.c
base64_encode_atom.c
bufchain.c
buildinfo.c
burnstr.c
chomp.c
conf.c
conf_dest.c
conf_launchable.c
ctrlparse.c
debug.c
dupcat.c
dupprintf.c
dupstr.c
encode_utf8.c
fgetline.c
host_strchr.c
host_strchr_internal.c
host_strcspn.c
host_strduptrim.c
host_strrchr.c
marshal.c
memory.c
memxor.c
miscucs.c
null_lp.c
nullseat.c
nullstrcmp.c
out_of_memory.c
parse_blocksize.c
prompts.c
ptrlen.c
read_file_into.c
seat_connection_fatal.c
sessprep.c
sk_free_peer_info.c
smemclr.c
smemeq.c
ssh2_pick_fingerprint.c
sshutils.c
strbuf.c
string_length_for_printf.c
stripctrl.c
tree234.c
validate_manual_hostkey.c
version.c
wcwidth.c
wildcard.c
write_c_string_literal.c
x11authfile.c
x11authnames.c
x11_dehexify.c
x11_identify_auth_proto.c
x11_make_greeting.c
x11_parse_ip.c)