начало: начальный передают
This commit is contained in:
commit
a1c9df040a
20 changed files with 11719 additions and 0 deletions
18
puppy/CMakeLists.txt
Normal file
18
puppy/CMakeLists.txt
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue