Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quick-nested-event-loop
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
Yuya Nishihara
quick-nested-event-loop
Commits
d1bb93c4
Commit
d1bb93c4
authored
4 years ago
by
Yuya Nishihara
Browse files
Options
Downloads
Patches
Plain Diff
clean up CMakeLists.txt
parent
497023f0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+5
-25
5 additions, 25 deletions
CMakeLists.txt
with
5 additions
and
25 deletions
CMakeLists.txt
+
5
−
25
View file @
d1bb93c4
...
...
@@ -8,36 +8,16 @@ set(CMAKE_AUTOUIC ON)
set
(
CMAKE_AUTOMOC ON
)
set
(
CMAKE_AUTORCC ON
)
set
(
CMAKE_CXX_STANDARD 1
1
)
set
(
CMAKE_CXX_STANDARD 1
4
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
# QtCreator supports the following variables for Android, which are identical to qmake Android variables.
# Check http://doc.qt.io/qt-5/deployment-android.html for more information.
# They need to be set before the find_package(Qt5 ...) call.
#if(ANDROID)
# set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android")
# if (ANDROID_ABI STREQUAL "armeabi-v7a")
# set(ANDROID_EXTRA_LIBS
# ${CMAKE_CURRENT_SOURCE_DIR}/path/to/libcrypto.so
# ${CMAKE_CURRENT_SOURCE_DIR}/path/to/libssl.so)
# endif()
#endif()
find_package
(
QT NAMES Qt6 Qt5 COMPONENTS Core Quick REQUIRED
)
find_package
(
Qt
${
QT_VERSION_MAJOR
}
COMPONENTS Core Quick REQUIRED
)
if
(
ANDROID
)
add_library
(
quick-nested-event-loop SHARED
main.cpp
qml.qrc
)
else
()
add_executable
(
quick-nested-event-loop
main.cpp
qml.qrc
)
endif
()
add_executable
(
quick-nested-event-loop
main.cpp
qml.qrc
)
target_compile_definitions
(
quick-nested-event-loop
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>
)
...
...
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