Last active
October 15, 2021 10:59
-
-
Save tdimitrov/ace5f96fe58232378e5bd8c7d9b10b14 to your computer and use it in GitHub Desktop.
CMake bootstrap file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.20) | |
project(MY_PROJECT_NAME_HERE) | |
find_package(Threads REQUIRED) | |
add_executable(BINARY_NAME_HERE SOURCE_FILES_HERE) | |
target_link_libraries(BINARY_NAME_HERE ${CMAKE_THREAD_LIBS_INIT} LIBRARIES_HERE) | |
set_property(TARGET BINARY_NAME_HERE PROPERTY CXX_STANDARD 17) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment