Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDSF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UDSF
Commits
3ebe8a43
Commit
3ebe8a43
authored
May 17, 2021
by
liuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
48ea60cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
17 deletions
+16
-17
.gitignore
.gitignore
+0
-1
src/udsf_app/yuan--CMakeLists.txt
src/udsf_app/yuan--CMakeLists.txt
+16
-16
No files found.
.gitignore
View file @
3ebe8a43
./.vscode
src/udsf_app/yuan--CMakeLists.txt
View file @
3ebe8a43
...
...
@@ -8,21 +8,21 @@ include(ExternalProject)
set(EXTERNAL_INSTALL_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/external)
#
ExternalProject_Add(PISTACHE
#
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/include/pistache
#
BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}//external/include/pistache
##
GIT_REPOSITORY https://github.com/oktal/pistache.git
##
GIT_REPOSITORY https://github.com/pistacheio/pistache
#
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTERNAL_INSTALL_LOCATION}
#
)
#
ExternalProject_Add(NLOHMANN
#
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/include/json
#
BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}//external/include/json
##
GIT_REPOSITORY https://github.com/nlohmann/json.git
#
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTERNAL_INSTALL_LOCATION}
#
)
ExternalProject_Add(PISTACHE
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/include/pistache
BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}//external/include/pistache
GIT_REPOSITORY https://github.com/oktal/pistache.git
GIT_REPOSITORY https://github.com/pistacheio/pistache
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTERNAL_INSTALL_LOCATION}
)
ExternalProject_Add(NLOHMANN
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/include/json
BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}//external/include/json
GIT_REPOSITORY https://github.com/nlohmann/json.git
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTERNAL_INSTALL_LOCATION}
)
include_directories(${EXTERNAL_INSTALL_LOCATION}/include)
link_directories(${EXTERNAL_INSTALL_LOCATION}/lib)
...
...
@@ -38,5 +38,5 @@ file(GLOB SRCS
)
add_executable(${PROJECT_NAME} ${SRCS} )
#
add_dependencies(${PROJECT_NAME} PISTACHE NLOHMANN)
add_dependencies(${PROJECT_NAME} PISTACHE NLOHMANN)
target_link_libraries(${PROJECT_NAME} pistache pthread)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment