Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.8)
- project(cppserial)
- set(CMAKE_CXX_STANDARD 20)
- set(CMAKE_CXX_STANDARD_REQUIRED ON)
- set(SOURCE src/cppserial/serializable.h
- src/cppserial/serializer.h
- )
- add_library(${PROJECT_NAME} STATIC ${SOURCE})
- add_subdirectory(libs/cppstreams)
- target_link_libraries(${PROJECT_NAME} PUBLIC cppstreams)
- target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement