Compare commits

..

2 Commits

Author SHA1 Message Date
e07831fcad cmake use precompiled spdlog 2021-06-05 08:36:31 -04:00
ec73a87d31 remove spdlog submodule 2021-06-05 00:11:06 -04:00
3 changed files with 9 additions and 17 deletions

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "external/spdlog"]
path = external/spdlog
url = https://github.com/gabime/spdlog.git

View File

@@ -1,19 +1,15 @@
cmake_minimum_required(VERSION 3.0.0)
project(zynqDump VERSION 0.1.0)
# include(CTest)
# enable_testing()
add_compile_options(-std=c++14)
add_subdirectory(external/spdlog)
find_package(spdlog)
set(TARGET zynqDump)
add_compile_options("-std=c++14")
include_directories("/home/nam/sw/include")
include_directories(include)
add_library(channel STATIC channel.cc)
find_library(SPDLOG_LIBRARY
NAMES spdlog
HINTS "/home/nam/sw/lib"
)
add_executable(${TARGET} client.cc)
add_executable(zynqDump client.cc)
target_link_libraries(zynqDump channel spdlog)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
target_link_libraries(${TARGET} channel ${SPDLOG_LIBRARY})

1
external/spdlog vendored

Submodule external/spdlog deleted from a530b87fd0