adding in attempt with cppgraphqlgen
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(FlowyAdmin)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
find_package(CURL REQUIRED)
|
||||
|
||||
add_subdirectory(external/cppgraphqlgen)
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/generated)
|
||||
|
||||
# Add the external library directory
|
||||
include_directories(external)
|
||||
|
||||
add_executable(flowy_admin src/main.cpp)
|
||||
|
||||
target_link_libraries(flowy_admin
|
||||
graphqlclient
|
||||
graphqlpeg
|
||||
graphqlresponse
|
||||
CURL::libcurl
|
||||
)
|
||||
Reference in New Issue
Block a user