cmake_minimum_required(VERSION 3.15) project(test) set(CMAKE_CXX_STANDARD 17) add_executable(test main.cpp) target_link_libraries(test gmp gmpxx)