SHARE
TWEET

Untitled

a guest Mar 12th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cmake_minimum_required(VERSION 3.0.0)
  2.  
  3. project(BenchmarkVector2D VERSION 0.1 LANGUAGES CXX)
  4.  
  5. set(CMAKE_INCLUDE_CURRENT_DIR ON)
  6. set(CMAKE_AUTOMOC ON)
  7.  
  8. set(CMAKE_CXX_STANDARD 14)
  9. set(CMAKE_CXX_EXTENSIONS ON)
  10.  
  11. set( CMAKE_CXX_FLAGS "-O3")
  12. set( CMAKE_CXX_FLAGS "-Ofast")
  13. set( CMAKE_CXX_FLAGS "-march=native")
  14.  
  15. find_package(Qt5 COMPONENTS Core Widgets REQUIRED)
  16.  
  17. add_executable(${PROJECT_NAME} "main.cpp")
  18.  
  19. target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Widgets)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top