QT_SKIP_기본_테스트케이스_DIRS
이 변수는 Qt 6.9에 도입되었습니다.
참고: 이 변수는 기술 프리뷰에 있으며 향후 릴리스에서 변경될 수 있습니다.
Qt Test 대상에 대한 테스트 케이스 디렉터리 정의를 비활성화합니다.
QT_SKIP_DEFAULT_TESTCASE_DIRS 대상 속성의 기본값을 제어합니다.
참고: CMake 버전 >= 3.23부터 지원됩니다.
set(QT_SKIP_DEFAULT_TESTCASE_DIRS TRUE) ... qt_add_executable(mytest1 main1.cpp) target_link_libraries(mytest1 PRIVATE Qt6::Test) ... qt_add_executable(mytest2 main2.cpp) target_link_libraries(mytest2 PRIVATE Qt6::Test)
QT_TESTCASE_SOURCEDIR
및 QT_TESTCASE_BUILDDIR
매크로는 mytest1
및 mytest2
을 컴파일할 때 정의되지 않은 상태로 유지됩니다.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.