egg (or chicken)

Signed-off-by: Arthur Khachaturov <me@wzray.ru>
This commit is contained in:
Arthur Khachaturov 2024-11-26 00:20:24 +03:00
commit 8ed52d1c79
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
20 changed files with 11719 additions and 0 deletions

18
puppy/CMakeLists.txt Normal file
View file

@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.25)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_BUILD_TYPE Release)
project(promt-puppy CXX)
file(GLOB sources src/*.cpp)
add_executable(${PROJECT_NAME}
app/main.cpp
${sources}
)
if(UNIX)
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
target_link_libraries(${PROJECT_NAME} ole32 ws2_32 oleaut32 uuid)
target_link_libraries(${PROJECT_NAME} winpthread -static)
endif()
target_include_directories(${PROJECT_NAME} PUBLIC include)