Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Gouache committed Apr 19, 2024
1 parent 6d382d1 commit 523c87a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,24 @@ if(DEFINED ENV{VCPKG_DEFAULT_TRIPLET} AND NOT DEFINED VCPKG_TARGET_TRIPLET)
endif()

cmake_minimum_required(VERSION 3.20)
# Enforce c++11 standard.
set (CMAKE_CXX_STANDARD 11)

project(khiops-gcs)

# Find dependencies provided by vcpkg (via vcpkg.cmake)
find_package(google_cloud_cpp_storage CONFIG REQUIRED)
find_package(spdlog REQUIRED)
find_package(spdlog CONFIG REQUIRED)

add_library(khiopsdriver_file_gcs MODULE src/gcsplugin.cpp)
add_executable(KhiopsPluginTest src/khiopsplugintest.cpp)

target_link_libraries(KhiopsPluginTest PRIVATE dl)

target_link_libraries(khiopsdriver_file_gcs
PRIVATE google-cloud-cpp::storage spdlog::spdlog_header_only)
PUBLIC google-cloud-cpp::storage PRIVATE spdlog::spdlog_header_only)

# Debugging WIN compilation
add_executable(MainTest src/maintest.cpp)

# Enforce c++11 standard.
set (CMAKE_CXX_STANDARD 11)

add_executable(Demo src/main.cpp src/version.h)
set(MODULE_FILES
src/d-hello.cpp
Expand Down

0 comments on commit 523c87a

Please sign in to comment.