This repository was archived by the owner on Feb 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Switch to cmake build system #191
Open
MatejFranceskin
wants to merge
22
commits into
Dronecode:master
Choose a base branch
from
MatejFranceskin:pr-cmake
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
0f1a071
First version of cmake build system
MatejFranceskin c892715
Updated mavlink submodule
MatejFranceskin 83e33e0
Fixed realsense cmake build
MatejFranceskin 388d5b3
CMake improved gazebo detection
MatejFranceskin 9daf71a
cmake - conditional link library list
MatejFranceskin efdae7a
cmake - fix gazebo find_package
MatejFranceskin a27ba3e
First version of cmake build system
MatejFranceskin 3dd30a8
Updated mavlink submodule
MatejFranceskin d6be334
Fixed realsense cmake build
MatejFranceskin 42eab42
CMake improved gazebo detection
MatejFranceskin 6abd943
cmake - conditional link library list
MatejFranceskin 3b69c61
cmake - fix gazebo find_package
MatejFranceskin c1e1b40
Merge branch 'pr-cmake' of https://github.com/MatejFranceskin/camera-…
MatejFranceskin 1d6b79c
Removed configure build system and added install for cmake
MatejFranceskin 5c67c85
Merge branch 'master' into pr-cmake
MatejFranceskin 7918209
cmake - added "make tests" target
MatejFranceskin a91520f
Merge branch 'master' of https://github.com/Dronecode/camera-manager …
MatejFranceskin 177df21
cmake - added compile options
MatejFranceskin 00ca25e
Clean up of .gitignore
MatejFranceskin bb4835f
Addressed PR-cmake review comments
MatejFranceskin 4dc7128
make tests separate target
MatejFranceskin d223fc4
Removed SRC_FILES var in cmakelists
MatejFranceskin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| cmake_minimum_required(VERSION 3.5) | ||
| project(CameraManagerRoot) | ||
| project(CameraManager) | ||
| add_subdirectory(src) | ||
| add_subdirectory(test EXCLUDE_FROM_ALL) | ||
| add_subdirectory(test) | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,9 @@ | ||
| file(GLOB SRC_FILES *.cpp) | ||
| file(GLOB SRC_FILES | ||
| CameraDeviceAeroAtomIsp.cpp | ||
| PluginAeroAtomIsp.cpp) | ||
MatejFranceskin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| include_directories( | ||
| ${CMAKE_CURRENT_SOURCE_DIR}/../.. | ||
| ) | ||
|
|
||
| add_library(AeroAtomIspCamera ${SRC_FILES}) | ||
| add_library(AeroAtomIspCamera ${SRC_FILES}) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,9 @@ | ||
| file(GLOB SRC_FILES *.cpp) | ||
| file(GLOB SRC_FILES | ||
| CameraDeviceCustom.cpp | ||
| PluginCustom.cpp) | ||
|
|
||
| include_directories( | ||
| ${CMAKE_CURRENT_SOURCE_DIR}/../.. | ||
| ) | ||
|
|
||
| add_library(CustomCamera ${SRC_FILES}) | ||
| add_library(CustomCamera ${SRC_FILES}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,12 @@ | ||
| find_package(gazebo REQUIRED) | ||
|
|
||
| file(GLOB SRC_FILES *.cpp) | ||
| file(GLOB SRC_FILES | ||
| CameraDeviceGazebo.cpp | ||
| PluginGazebo.cpp) | ||
|
|
||
| include_directories( | ||
| ${GAZEBO_INCLUDE_DIRS} | ||
| ${CMAKE_CURRENT_SOURCE_DIR}/../.. | ||
| ) | ||
|
|
||
| add_library(GazeboCamera ${SRC_FILES}) | ||
| add_library(GazeboCamera ${SRC_FILES}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,9 @@ | ||
| file(GLOB SRC_FILES *.cpp) | ||
| file(GLOB SRC_FILES | ||
| CameraDeviceRealSense.cpp | ||
| PluginRealSense.cpp) | ||
|
|
||
| include_directories( | ||
| ${CMAKE_CURRENT_SOURCE_DIR}/../.. | ||
| ) | ||
|
|
||
| add_library(RealSenseCamera ${SRC_FILES}) | ||
| add_library(RealSenseCamera ${SRC_FILES}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,9 @@ | ||
| file(GLOB SRC_FILES *.cpp) | ||
| file(GLOB SRC_FILES | ||
| CameraDeviceV4l2.cpp | ||
| PluginV4l2.cpp) | ||
|
|
||
| include_directories( | ||
| ${CMAKE_CURRENT_SOURCE_DIR}/../.. | ||
| ) | ||
|
|
||
| add_library(V4l2Camera ${SRC_FILES}) | ||
| add_library(V4l2Camera ${SRC_FILES}) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.