Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
a0b35ee6
Commit
a0b35ee6
authored
Sep 06, 2014
by
Fabio Bas
Browse files
Cockatrice - CMake: Include all existing translation files using a glob
parent
e5eda9f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/CMakeLists.txt
View file @
a0b35ee6
...
...
@@ -98,22 +98,7 @@ if (UNIX AND NOT APPLE)
endif
(
UNIX AND NOT APPLE
)
set
(
cockatrice_RESOURCES cockatrice.qrc
)
set
(
cockatrice_TS
# translations/cockatrice_cs.ts
translations/cockatrice_de.ts
translations/cockatrice_en.ts
translations/cockatrice_es.ts
# translations/cockatrice_fr.ts
translations/cockatrice_it.ts
translations/cockatrice_ja.ts
# translations/cockatrice_pl.ts
# translations/cockatrice_pt-br.ts
translations/cockatrice_pt.ts
# translations/cockatrice_ru.ts
# translations/cockatrice_sk.ts
translations/cockatrice_sv.ts
# translations/cockatrice_zh_CN.ts
)
FILE
(
GLOB cockatrice_TS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/translations/*.ts"
)
IF
(
UPDATE_TRANSLATIONS
)
FILE
(
GLOB_RECURSE translate_cockatrice_SRCS
${
CMAKE_SOURCE_DIR
}
/cockatrice/src/*.cpp
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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