Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.0)
- project(someproject)
- if(${CMAKE_C_COMPILER_ID} STREQUAL XL)
- set(BGQ ON)
- add_compile_definitions(BGQ=1)
- else()
- set(BGQ OFF)
- add_compile_definitions(BGQ=0)
- endif()
- add_executable(...)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement