Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
88
Issues
88
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
2307f94e
Commit
2307f94e
authored
Jul 12, 2016
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean the list of options visible in non-advanced ccmake
parent
f212b478
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
CMakeLists.txt
CMakeLists.txt
+11
-6
cmake/Modules/FindLITESQL.cmake
cmake/Modules/FindLITESQL.cmake
+2
-1
No files found.
CMakeLists.txt
View file @
2307f94e
...
...
@@ -80,6 +80,7 @@ if (NOT PANDOC_EXECUTABLE)
message
(
STATUS
"Pandoc not found, documentation cannot be built"
)
endif
()
endif
()
mark_as_advanced
(
PANDOC_EXECUTABLE
)
# Look for litesql and enable the database if found
if
(
WITH_LITESQL
)
...
...
@@ -280,18 +281,22 @@ add_custom_target(PrintBuildParameters ALL
configure_file
(
biboumi.h.cmake src/biboumi.h
)
set
(
SYSTEMD_SERVICE_TYPE_DOCSTRING
"The value used as the Type= in the systemd unit file."
)
set
(
WATCHDOG_SEC_DOCSTRING
"The value used as WatchdogSec= in the systemd unit file."
)
if
(
SYSTEMD_FOUND
)
set
(
SYSTEMD_SERVICE_TYPE
"notify"
)
set
(
WATCHDOG_SEC
"20"
)
set
(
SYSTEMD_SERVICE_TYPE
"notify"
CACHE STRING SYSTEMD_SERVICE_TYPE_DOCSTRING
)
set
(
WATCHDOG_SEC
"20"
CACHE STRING WATCHDOG_SEC_DOCSTRING
)
else
()
set
(
SYSTEMD_SERVICE_TYPE
"simple"
)
set
(
WATCHDOG_SEC
""
)
set
(
SYSTEMD_SERVICE_TYPE
"simple"
CACHE STRING SYSTEMD_SERVICE_TYPE_DOCSTRING
)
set
(
WATCHDOG_SEC
""
CACHE STRING WATCHDOG_SEC_DOCSTRING
)
endif
()
set
(
SERVICE_USER_DOCSTRING
"The value used as the User= in the systemd unit file."
)
if
(
NOT DEFINED SERVICE_USER
)
set
(
SERVICE_USER
"nobody"
)
set
(
SERVICE_USER
"nobody"
CACHE STRING SERVICE_USER_DOCSTRING
)
endif
()
set
(
SERVICE_GROUP_DOCSTRING
"The value used as the Group= in the systemd unit file."
)
if
(
NOT DEFINED SERVICE_GROUP
)
set
(
SERVICE_GROUP
"nobody"
)
set
(
SERVICE_GROUP
"nobody"
CACHE STRING SERVICE_GROUP_DOCSTRING
)
endif
()
configure_file
(
unit/biboumi.service.cmake biboumi.service
)
...
...
cmake/Modules/FindLITESQL.cmake
View file @
2307f94e
...
...
@@ -36,6 +36,7 @@ foreach(DB_TYPE sqlite postgresql mysql ocilib)
if
(
LITESQL_
${
DB_TYPE_UPPER
}
_LIB_PATH
)
list
(
APPEND LITESQL_LIBRARIES
${
LITESQL_
${
DB_TYPE_UPPER
}
_LIB_PATH
}
)
endif
()
mark_as_advanced
(
LITESQL_
${
DB_TYPE_UPPER
}
_LIB_PATH
)
endforeach
()
find_program
(
LITESQLGEN_EXECUTABLE NAMES litesql-gen
...
...
@@ -53,7 +54,7 @@ if(LITESQL_FOUND)
set
(
LITESQL_LIBRARY
${
LITESQL_LIBRARIES
}
)
endif
()
mark_as_advanced
(
LITESQL_INCLUDE_DIRS LITESQL_LIBRARIES
)
mark_as_advanced
(
LITESQL_INCLUDE_DIRS LITESQL_LIBRARIES
LITESQLGEN_EXECUTABLE
)
# LITESQL_GENERATE_CPP function
...
...
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