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

16 lines
500 B
CMake
Raw Normal View History

2024-01-08 03:22:46 -05:00
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)