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
6d34aeac
Commit
6d34aeac
authored
9 years ago
by
Matthew Hausknecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated cmakelists for optional installation of additional teams.
parent
a3d29c63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
.gitignore
.gitignore
+1
-4
CMakeLists.txt
CMakeLists.txt
+14
-0
No files found.
.gitignore
View file @
6d34aeac
...
...
@@ -62,10 +62,7 @@ cmake_install.cmake
CMakeFiles/
# Executeables
bin/teams/base/agent
bin/teams/base/sample_coach
bin/teams/base/sample_player
bin/teams/base/sample_trainer
bin/teams/
bin/rcssserver
bin/soccerwindow2
example/hfo_example_agent
...
...
This diff is collapsed.
Click to expand it.
CMakeLists.txt
View file @
6d34aeac
...
...
@@ -3,6 +3,7 @@ project(hfo)
include
(
ExternalProject
)
option
(
BUILD_SOCCERWINDOW
"Build Soccerwindow Visualizer"
ON
)
option
(
INSTALL_ADDITIONAL_TEAMS
"Install additional team binaries"
ON
)
add_definitions
(
-DELOG
)
...
...
@@ -44,6 +45,19 @@ if(BUILD_SOCCERWINDOW)
install
(
DIRECTORY
${
SOCCERWINDOW2_BINARY_DIR
}
DESTINATION
${
CMAKE_CURRENT_SOURCE_DIR
}
USE_SOURCE_PERMISSIONS
)
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
)
endif
()
set
(
SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY bin
)
include_directories
(
${
SOURCE_DIR
}
${
SOURCE_DIR
}
/chain_action
)
...
...
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