Opened 15 years ago
Closed 15 years ago
#26 closed enhancement (fixed)
Provide CMake parameters to enable/disable cameras
| Reported by: | Suren A. Chilingaryan | Owned by: | Matthias Vogelgesang |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | libuca | Version: | |
| Keywords: | Cc: |
Description
It would be nice to provide CMake options (configurable using ccmake interface) which will allow to disable camera even if the appropriate libraries are installed. For soft camera, please, would be nice to have ccmake option to enable it.
Attachments (0)
Change History (4)
comment:1 Changed 15 years ago by
| Type: | defect → enhancement |
|---|
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
| Priority: | minor → trivial |
|---|
Oh. I'm sorry missed the dummy camera.
It takes relatively long to detect cameras. After I have installed PF camera, uca_init takes about second. For this reason, I think it have sense to have option to disable support. And, common, it just 2 lines in cmake. But of course, this is very low priority. We can postpone this until there are no other things to do...
comment:4 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
![(please configure the [header_logo] section in trac.ini)](/ufo/chrome/site/your_project_logo.png)
There is a CMake option for the dummy camera for the very reason, that I don't want to see it everytime. However, I don't see the point in enabling/disabling other cameras when the corresponding software is installed. It's just more maintenance work for no real gain.