Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.16)
- project(untitled)
- set(CMAKE_CXX_STANDARD 17)
- include(FetchContent)
- FetchContent_Declare(
- panoptes
- GIT_REPOSITORY https://github.com/neXenio/panoptes.git
- GIT_TAG master
- )
- FetchContent_MakeAvailable(panoptes)
- # Insert definitions in order to use library headers
- if (WIN32)
- add_definitions ("-D__WINDOWS__")
- endif (WIN32)
- if (UNIX)
- if (APPLE)
- add_definitions ("-D__APPLE__")
- else (APPLE)
- add_definitions ("-D__LINUX__")
- endif(APPLE)
- endif (UNIX)
- add_executable(untitled main.cpp)
- target_link_libraries(untitled PUBLIC PanoptesFW)
Add Comment
Please, Sign In to add comment