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
c37f03df
Commit
c37f03df
authored
Feb 17, 2015
by
Matthew Hausknecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added cmake file.
parent
7156fcc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
CMakeLists.txt
CMakeLists.txt
+40
-0
No files found.
CMakeLists.txt
0 → 100644
View file @
c37f03df
cmake_minimum_required
(
VERSION 2.8.3
)
project
(
hfo
)
set
(
SOURCE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
)
SET
(
LIBRCSC_INCLUDE ~/.local/include
)
SET
(
LIBRCSC_LINK ~/.local/lib
)
include_directories
(
${
SOURCE_DIR
}
${
SOURCE_DIR
}
/chain_action
${
LIBRCSC_INCLUDE
}
)
link_directories
(
${
LIBRCSC_LINK
}
)
file
(
GLOB SOURCES
${
SOURCE_DIR
}
/*.cpp
${
SOURCE_DIR
}
/chain_action/*.cpp
)
list
(
REMOVE_ITEM SOURCES
${
SOURCE_DIR
}
/main_coach.cpp
${
SOURCE_DIR
}
/main_player.cpp
${
SOURCE_DIR
}
/main_trainer.cpp
)
MESSAGE
(
${
SOURCES
}
)
list
(
APPEND LINK_LIBS
rcsc_agent
rcsc_geom
rcsc_param
rcsc_ann
rcsc_net
rcsc_gz
rcsc_time
rcsc_rcg
${
CMAKE_THREAD_LIBS_INIT
}
)
add_executable
(
sample_coach
${
SOURCE_DIR
}
/main_coach.cpp
${
SOURCES
}
)
add_executable
(
sample_player
${
SOURCE_DIR
}
/main_player.cpp
${
SOURCES
}
)
add_executable
(
sample_trainer
${
SOURCE_DIR
}
/main_trainer.cpp
${
SOURCES
}
)
target_link_libraries
(
sample_coach
${
LINK_LIBS
}
)
target_link_libraries
(
sample_player
${
LINK_LIBS
}
)
target_link_libraries
(
sample_trainer
${
LINK_LIBS
}
)
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