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
Kaidan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
46
Issues
46
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
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
Network
Kaidan
Commits
0980457f
Commit
0980457f
authored
Feb 18, 2017
by
Linus Jahn
Committed by
GitHub
Feb 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMake: Make i18n support optional (#64)
parent
cd924c19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
CMakeLists.txt
CMakeLists.txt
+6
-1
README.md
README.md
+1
-1
No files found.
CMakeLists.txt
View file @
0980457f
...
...
@@ -4,6 +4,9 @@ set(QT_MIN_VERSION "5.7.0")
project
(
kaidan
)
# CMake options
option
(
I18N
"Enable i18n support"
FALSE
)
# application name
set
(
APPLICATION_ID
"harbour.kaidan"
)
set
(
APPLICATION_NAME
"kaidan"
)
...
...
@@ -55,7 +58,9 @@ find_package(Boost REQUIRED)
# Translation
#
include
(
"
${
CMAKE_SOURCE_DIR
}
/i18n/CMakeLists.txt"
)
if
(
I18N
)
include
(
"
${
CMAKE_SOURCE_DIR
}
/i18n/CMakeLists.txt"
)
endif
()
#
# Sources / Resources
...
...
README.md
View file @
0980457f
...
...
@@ -26,7 +26,7 @@ Get Kaidan source code
Finally compile it
*
`mkdir kaidan/build ; cd kaidan/build`
*
`cmake ..`
*
`cmake ..
-DI18N=1
`
*
`make -j<number of threads>`
You can now run Kaidan:
...
...
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