5491: Move twping to tools directory r=heinrich5991 a=def-

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Dennis Felsing <dennis@felsin9.de>
This commit is contained in:
bors[bot] 2022-06-24 23:29:42 +00:00 committed by GitHub
commit 562962f843
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View file

@ -2401,14 +2401,6 @@ endif()
########################################################################
if(TOOLS)
set_src(TWPING_SRC GLOB src/twping twping.cpp)
set(TARGET_TWPING twping)
add_executable(${TARGET_TWPING} EXCLUDE_FROM_ALL ${TWPING_SRC} $<TARGET_OBJECTS:engine-shared> ${DEPS})
target_link_libraries(${TARGET_TWPING} ${LIBS})
list(APPEND TARGETS_OWN ${TARGET_TWPING})
list(APPEND TARGETS_LINK ${TARGET_TWPING})
set(TARGETS_TOOLS)
set_src(TOOLS_SRC GLOB src/tools
config_common.h
@ -2426,6 +2418,7 @@ if(TOOLS)
map_resave.cpp
packetgen.cpp
stun.cpp
twping.cpp
unicode_confusables.cpp
uuid.cpp
)