Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ImageINSA_Tanguy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tanguy.Raufflet
ImageINSA_Tanguy
Commits
ccb9704b
Commit
ccb9704b
authored
10 years ago
by
Antoine Lorence
Browse files
Options
Downloads
Patches
Plain Diff
[CMake] Move translation files to the right folder
parent
3661802d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
app/CMakeLists.txt
+6
-2
6 additions, 2 deletions
app/CMakeLists.txt
lib/detiq-t
+1
-1
1 addition, 1 deletion
lib/detiq-t
with
8 additions
and
4 deletions
CMakeLists.txt
+
1
−
1
View file @
ccb9704b
...
...
@@ -60,7 +60,7 @@ find_package(Qwt 6.0)
include_directories
(
${
QWT_INCLUDE_DIRS
}
)
# We want to generate everything in the right target folder, for easier deployment
set
(
DEPLOY_OUTPUT_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/eiimage
)
set
(
DEPLOY_OUTPUT_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/eiimage
CACHE PATH
"The folder to use for deployment."
FORCE
)
set
(
CMAKE_ARCHIVE_OUTPUT_DIRECTORY
${
DEPLOY_OUTPUT_DIRECTORY
}
)
set
(
CMAKE_LIBRARY_OUTPUT_DIRECTORY
${
DEPLOY_OUTPUT_DIRECTORY
}
)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${
DEPLOY_OUTPUT_DIRECTORY
}
)
...
...
This diff is collapsed.
Click to expand it.
app/CMakeLists.txt
+
6
−
2
View file @
ccb9704b
...
...
@@ -180,18 +180,22 @@ qt5_wrap_ui(WRAPPED_UIS ${UIS})
qt5_add_resources
(
RCC_FILES
"eiimage_app_res.qrc"
)
set
(
TS_FILES eiimage_en.ts eiimage_fr.ts
)
# Uncomment
o
only 1 of the 2 folowing commands, depending on your needs
# Uncomment only 1 of the 2 folowing commands, depending on your needs
# -1- Use current translations files
qt5_add_translation
(
QM_FILES
${
TS_FILES
}
)
# -2- Update translations files with changes from c++ sources
# qt5_create_translation(QM_FILES ${eiimage_SOURCES} ${TS_FILES})
foreach
(
__FILE
${
QM_FILES
}
)
file
(
COPY
${
__FILE
}
DESTINATION
${
DEPLOY_OUTPUT_DIRECTORY
}
)
endforeach
()
# Avoid awful console on Windows
if
(
WIN32
)
set
(
EXTRA_FLAGS WIN32
)
endif
()
add_executable
(
eiimage
${
EXTRA_FLAGS
}
${
eiimage_SOURCES
}
${
WRAPPED_UIS
}
${
UIS
}
${
TS_FILES
}
${
RCC_FILES
}
)
add_executable
(
eiimage
${
EXTRA_FLAGS
}
${
eiimage_SOURCES
}
${
WRAPPED_UIS
}
${
UIS
}
${
QM_FILES
}
${
TS_FILES
}
${
RCC_FILES
}
)
target_link_libraries
(
eiimage
core
Qt5::Core
...
...
This diff is collapsed.
Click to expand it.
detiq-t
@
10011e3f
Compare
ff024525
...
10011e3f
Subproject commit
ff02452583df5f97839bf86dedf8362f1c28b70a
Subproject commit
10011e3f08cdd573f5b486802182e7bfabbe936d
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment