qt5base-lts/bin
Alexey Edelev 214c3a033a Add simple project generation based on existing source files
Introduce the qt-cmake-create script. The script generates the simple
CMakeLists.txt based on the source files located in the current or
specified directory. The initial version can generate a CMake code for
the following file types:
  - .c .cc .cpp .cxx .h .hh .hxx .hpp - generates the qt_add_executable
    call with prerequisites.
  - .qml .js .mjs - generates the qt_add_qml_module call with
    prerequisites.
  - .ui - adds the found ui files to the existing executable. Requires
    C++ files be present in the directory too.
  - .qrc - generates the qt_add_resources call and adds the resources
    to the existing executable. Requires C++ files be present in the
    directory too.
  - .proto - generates qt_add_protobuf call with prerequisites.

The QtInitProject.cmake script contains the 'handle_type' function that
allows extending the script capabilities and establish simple relation
chains between the file types.

Note: The initial implementation doesn't deal with sub-directories, so
all files from sub-directories will be added to and handled in the
top-level CMakeLists.txt file. This can be extended by user request.

Task-number: QTBUG-104388
Change-Id: I5abd9e07da109e867ff95986572ed2bf02ef9d3d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-02-08 12:59:19 +01:00
..
qmake-and-qtpaths-wrapper.bat.in Create the versioned variant of Qt tools in cross platform build 2022-12-07 07:09:15 +01:00
qmake-and-qtpaths-wrapper.in Create the versioned variant of Qt tools in cross platform build 2022-12-07 07:09:15 +01:00
qt-cmake-create.bat.in Add simple project generation based on existing source files 2023-02-08 12:59:19 +01:00
qt-cmake-create.in Add simple project generation based on existing source files 2023-02-08 12:59:19 +01:00
qt-cmake-private-install.cmake.in Add reference to CMake issue in qt-cmake-private-install-cmake.in 2021-03-31 15:32:30 +02:00
qt-cmake-standalone-test.in CMake: Allow usage of QtStandaloneTestTemplateProject as package component 2021-04-23 13:31:04 +02:00
qt-cmake.bat.in Use the Windows path separator in a Batch file 2023-01-09 14:39:27 +01:00
qt-cmake.in CMake: Make build system of installed Qt more relocatable 2020-05-07 15:41:16 +02:00
qt-cmake.ios.in CMake: Automatically use Xcode generator in qt-cmake + iOS 2022-05-20 13:06:00 +02:00
qt-configure-module.bat.in Add missing -help argument to qt-configure-module 2021-08-20 19:44:43 +02:00
qt-configure-module.in Return qt-configure-module to bin/ 2022-12-13 10:02:25 +00:00