Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Seminar-HFO
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
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
Seminar-HFO
Commits
1e97fbe6
Commit
1e97fbe6
authored
9 years ago
by
Matthew Hausknecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only install team binaries in linux.
parent
2cb258b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
CMakeLists.txt
CMakeLists.txt
+14
-10
No files found.
CMakeLists.txt
View file @
1e97fbe6
...
...
@@ -46,16 +46,20 @@ if(BUILD_SOCCERWINDOW)
endif
()
if
(
INSTALL_ADDITIONAL_TEAMS
)
ExternalProject_Add
(
hfo-teams
GIT_REPOSITORY
"https://github.com/mhauskn/hfo-teams.git"
GIT_TAG
"master"
CONFIGURE_COMMAND
""
BUILD_COMMAND
""
UPDATE_COMMAND
""
INSTALL_COMMAND
""
)
ExternalProject_Get_Property
(
hfo-teams SOURCE_DIR
)
set
(
TEAMS_SOURCE_DIR
${
SOURCE_DIR
}
/teams
)
install
(
DIRECTORY
${
TEAMS_SOURCE_DIR
}
DESTINATION
${
CMAKE_CURRENT_SOURCE_DIR
}
/bin USE_SOURCE_PERMISSIONS
)
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Linux"
)
ExternalProject_Add
(
hfo-teams
GIT_REPOSITORY
"https://github.com/mhauskn/hfo-teams.git"
GIT_TAG
"master"
CONFIGURE_COMMAND
""
BUILD_COMMAND
""
UPDATE_COMMAND
""
INSTALL_COMMAND
""
)
ExternalProject_Get_Property
(
hfo-teams SOURCE_DIR
)
set
(
TEAMS_SOURCE_DIR
${
SOURCE_DIR
}
/teams
)
install
(
DIRECTORY
${
TEAMS_SOURCE_DIR
}
DESTINATION
${
CMAKE_CURRENT_SOURCE_DIR
}
/bin USE_SOURCE_PERMISSIONS
)
else
()
MESSAGE
(
"Additional team binaries only supported in Linux. Skipping Install."
)
endif
()
endif
()
set
(
SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
)
...
...
This diff is collapsed.
Click to expand it.
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