This repository has been archived on 2024-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
WorldsChatRevived/CMakeLists.txt
2024-01-08 02:22:46 -06:00

16 lines
500 B
CMake

cmake_minimum_required(VERSION 3.0)
project(worldschatrevived)
add_executable(worldschatrevived main.cpp)
set_target_properties(worldschatrevived PROPERTIES LINK_SEARCH_START_STATIC 1)
set_target_properties(worldschatrevived PROPERTIES LINK_SEARCH_END_STATIC 1)
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
set_property(TARGET worldschatrevived PROPERTY CXX_STANDARD 11)
install(TARGETS worldschatrevived RUNTIME DESTINATION bin)