Skip to content

Instantly share code, notes, and snippets.

View AmatarYI's full-sized avatar
🌴
On everlast vacation

Yury Ihnatsiuk AmatarYI

🌴
On everlast vacation
View GitHub Profile
@AmatarYI
AmatarYI / gist:9c4475582ffb4b72b602a9ce893072e6
Created July 17, 2020 10:49
KDevelop compiler change configuring CMake settings
cmake -D CMAKE_C_COMPILER="/usr/bin/gcc" -D CMAKE_CXX_COMPILER="/usr/bin/g++"
//in this scope I chose gcc compiler for C-files ang g++ for C++-files
@AmatarYI
AmatarYI / CMakeLists.txt
Last active August 2, 2023 06:16
Some way to include Boost library with correct Boost.Asio working in KDevelop IDE. Manjaro
cmake_minimum_required(VERSION 3.0)
project(project_name)
find_package(Boost 1.72.0)
add_executable(project_name *.cpp_file_name)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")