Compare commits
2 Commits
e3fb134dbb
...
e07831fcad
| Author | SHA1 | Date | |
|---|---|---|---|
| e07831fcad | |||
| ec73a87d31 |
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
||||
[submodule "external/spdlog"]
|
||||
path = external/spdlog
|
||||
url = https://github.com/gabime/spdlog.git
|
||||
|
||||
@@ -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
1
external/spdlog
vendored
Submodule external/spdlog deleted from a530b87fd0
Reference in New Issue
Block a user