Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
André Pedro
CMake
Commits
cb4bc19a
Commit
cb4bc19a
authored
8 years ago
by
Sebastian Holtermann
Browse files
Options
Downloads
Patches
Plain Diff
QtAutogen tests: Rename rcc_empty target to camel case rccEmpty
parent
59dbd3f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Tests/QtAutogen/CMakeLists.txt
+4
-5
4 additions, 5 deletions
Tests/QtAutogen/CMakeLists.txt
Tests/QtAutogen/rccEmpty.cpp
+2
-2
2 additions, 2 deletions
Tests/QtAutogen/rccEmpty.cpp
Tests/QtAutogen/rccEmptyRes.qrc
+0
-0
0 additions, 0 deletions
Tests/QtAutogen/rccEmptyRes.qrc
with
6 additions
and
7 deletions
Tests/QtAutogen/CMakeLists.txt
+
4
−
5
View file @
cb4bc19a
...
...
@@ -49,13 +49,12 @@ add_executable(rccOnly rccOnly.cpp rccOnlyRes.qrc)
set_property
(
TARGET rccOnly PROPERTY AUTORCC ON
)
target_link_libraries
(
rccOnly
${
QT_QTCORE_TARGET
}
)
# -- RCC empty
add_executable
(
rcc
_e
mpty rcc
_e
mpty.cpp rcc
_e
mpty
_resource
.qrc
)
set_property
(
TARGET rcc
_e
mpty PROPERTY AUTORCC ON
)
target_link_libraries
(
rcc
_e
mpty
${
QT_QTCORE_TARGET
}
)
# --
Test:
RCC empty
add_executable
(
rcc
E
mpty rcc
E
mpty.cpp rcc
E
mpty
Res
.qrc
)
set_property
(
TARGET rcc
E
mpty PROPERTY AUTORCC ON
)
target_link_libraries
(
rcc
E
mpty
${
QT_QTCORE_TARGET
}
)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
)
add_definitions
(
-DFOO -DSomeDefine=
"Barx"
)
# enable relaxed mode so automoc can handle all the special cases:
...
...
This diff is collapsed.
Click to expand it.
Tests/QtAutogen/rcc
_e
mpty.cpp
→
Tests/QtAutogen/rcc
E
mpty.cpp
+
2
−
2
View file @
cb4bc19a
extern
int
qInitResources_rcc
_e
mpty
_resource
();
extern
int
qInitResources_rcc
E
mpty
Res
();
int
main
(
int
,
char
**
)
{
// Fails to link if the symbol is not present.
qInitResources_rcc
_e
mpty
_resource
();
qInitResources_rcc
E
mpty
Res
();
return
0
;
}
This diff is collapsed.
Click to expand it.
Tests/QtAutogen/rcc
_e
mpty
_resource
.qrc
→
Tests/QtAutogen/rcc
E
mpty
Res
.qrc
+
0
−
0
View file @
cb4bc19a
File moved
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