Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KStars
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Education
KStars
Commits
d0bd857d
Commit
d0bd857d
authored
May 26, 2017
by
Csaba Kertesz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ccache support
parent
e76af846
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
CMakeLists.txt
CMakeLists.txt
+7
-5
README.android
README.android
+1
-1
No files found.
CMakeLists.txt
View file @
d0bd857d
...
...
@@ -26,11 +26,13 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
set
(
CMAKE_AUTOMOC ON
)
# Ccache support
FIND_PROGRAM
(
CCACHE_FOUND ccache
)
SET
(
CCACHE_SUPPORT OFF CACHE BOOL
"Enable ccache support"
)
IF
((
CCACHE_FOUND OR ANDROID
)
AND CCACHE_SUPPORT MATCHES ON
)
SET_PROPERTY
(
GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache
)
SET_PROPERTY
(
GLOBAL PROPERTY RULE_LAUNCH_LINK ccache
)
IF
(
ANDROID OR UNIX OR APPLE
)
FIND_PROGRAM
(
CCACHE_FOUND ccache
)
SET
(
CCACHE_SUPPORT OFF CACHE BOOL
"Enable ccache support"
)
IF
((
CCACHE_FOUND OR ANDROID
)
AND CCACHE_SUPPORT MATCHES ON
)
SET_PROPERTY
(
GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache
)
SET_PROPERTY
(
GLOBAL PROPERTY RULE_LAUNCH_LINK ccache
)
ENDIF
()
ENDIF
()
if
(
CMAKE_SYSTEM_NAME STREQUAL Android
)
...
...
README.android
View file @
d0bd857d
...
...
@@ -7,7 +7,7 @@ Prerequisites:
(https://bugreports.qt.io/browse/QTBUG-54666) what can be fixed by only patching one cmake config file.
The build files will comment the problematic line.
- Get KStars source code from from Github or KDE
-
sudo apt-get install dos2unix
-
Some tools are needed for the compilation: sudo apt-get install dos2unix ccache
Set the following environmental variables before building:
...
...
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