Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MODELS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tadah
MODELS
Commits
50370bbe
Commit
50370bbe
authored
1 year ago
by
mkirsz
Browse files
Options
Downloads
Patches
Plain Diff
Add download to ext proj
parent
dd765f8c
No related branches found
No related tags found
No related merge requests found
Pipeline
#33139
failed
1 year ago
Stage: build
Stage: build.tests
Stage: run.tests
Stage: trigger
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
CMakeLists.txt
+11
-6
11 additions, 6 deletions
CMakeLists.txt
with
12 additions
and
6 deletions
.gitignore
+
1
−
0
View file @
50370bbe
*.swp
*.swp
*.swo
build
build
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
11
−
6
View file @
50370bbe
...
@@ -14,20 +14,25 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}
...
@@ -14,20 +14,25 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}
You may need to remove CMakeCache.txt and CMakeFiles dir. "
)
You may need to remove CMakeCache.txt and CMakeFiles dir. "
)
endif
()
endif
()
# check required modules are present
if
(
NOT EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE"
)
message
(
"This module requires CORE module for compilation."
)
message
(
FATAL_ERROR
"CORE module not found."
)
endif
()
include
(
ExternalProject
)
include
(
ExternalProject
)
ExternalProject_Add
(
Tadah.CORE
ExternalProject_Add
(
Tadah.CORE
GIT_REPOSITORY git@git.ecdf.ed.ac.uk:tadah/core.git
GIT_TAG main
SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE
SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE
PATCH_COMMAND mkdir -p build
BINARY_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE/build
BINARY_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE/build
INSTALL_COMMAND cmake -E echo
"Skipping install step."
INSTALL_COMMAND cmake -E echo
"Skipping install step."
)
)
# check required modules are present
if
(
NOT EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE"
)
message
(
"This module requires CORE module for compilation."
)
message
(
FATAL_ERROR
"CORE module not found."
)
endif
()
link_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE/build
)
link_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE/build
)
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment