mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-06 01:05:23 +08:00
qt 6.6.0 clean
This commit is contained in:
14
tests/auto/tools/qt_cmake_create/testdata/cpp_project/CMakeLists.txt.expected
vendored
Normal file
14
tests/auto/tools/qt_cmake_create/testdata/cpp_project/CMakeLists.txt.expected
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(cpp_project LANGUAGES CXX)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core)
|
||||
qt_standard_project_setup()
|
||||
|
||||
qt_add_executable(cpp_project
|
||||
main.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(cpp_project
|
||||
PRIVATE
|
||||
Qt::Core
|
||||
)
|
7
tests/auto/tools/qt_cmake_create/testdata/cpp_project/main.cpp
vendored
Normal file
7
tests/auto/tools/qt_cmake_create/testdata/cpp_project/main.cpp
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(int, char *[])
|
||||
{
|
||||
std::cout << "Now I have CMakeLists.txt. Thanks!" << std::endl;
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user