Compare commits
3 Commits
e3fb134dbb
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| a2e8997090 | |||
| 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)
|
cmake_minimum_required(VERSION 3.0.0)
|
||||||
project(zynqDump VERSION 0.1.0)
|
project(zynqDump VERSION 0.1.0)
|
||||||
|
|
||||||
# include(CTest)
|
set(TARGET zynqDump)
|
||||||
# enable_testing()
|
add_compile_options("-std=c++14")
|
||||||
add_compile_options(-std=c++14)
|
include_directories("/home/nam/sw/include")
|
||||||
add_subdirectory(external/spdlog)
|
|
||||||
find_package(spdlog)
|
|
||||||
|
|
||||||
include_directories(include)
|
|
||||||
add_library(channel STATIC channel.cc)
|
add_library(channel STATIC channel.cc)
|
||||||
|
find_library(SPDLOG
|
||||||
|
NAMES spdlog
|
||||||
|
HINTS "/home/nam/sw/lib"
|
||||||
|
)
|
||||||
|
add_executable(${TARGET} client.cc)
|
||||||
|
|
||||||
add_executable(zynqDump client.cc)
|
target_link_libraries(${TARGET} channel ${SPDLOG})
|
||||||
|
|
||||||
target_link_libraries(zynqDump channel spdlog)
|
|
||||||
|
|
||||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
|
||||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
|
||||||
include(CPack)
|
|
||||||
|
|||||||
1
external/spdlog
vendored
1
external/spdlog
vendored
Submodule external/spdlog deleted from a530b87fd0
Reference in New Issue
Block a user