7550 3602ad0575 1.First upload. 5 년 전
..
Android 3602ad0575 1.First upload. 5 년 전
AndroidMK 3602ad0575 1.First upload. 5 년 전
AndroidTestUtilities 3602ad0575 1.First upload. 5 년 전
AutoExportDll 3602ad0575 1.First upload. 5 년 전
BuildDepends 3602ad0575 1.First upload. 5 년 전
CMP0004 3602ad0575 1.First upload. 5 년 전
CMP0019 3602ad0575 1.First upload. 5 년 전
CMP0022 3602ad0575 1.First upload. 5 년 전
CMP0026 3602ad0575 1.First upload. 5 년 전
CMP0027 3602ad0575 1.First upload. 5 년 전
CMP0028 3602ad0575 1.First upload. 5 년 전
CMP0037 3602ad0575 1.First upload. 5 년 전
CMP0038 3602ad0575 1.First upload. 5 년 전
CMP0039 3602ad0575 1.First upload. 5 년 전
CMP0040 3602ad0575 1.First upload. 5 년 전
CMP0041 3602ad0575 1.First upload. 5 년 전
CMP0042 3602ad0575 1.First upload. 5 년 전
CMP0043 3602ad0575 1.First upload. 5 년 전
CMP0045 3602ad0575 1.First upload. 5 년 전
CMP0046 3602ad0575 1.First upload. 5 년 전
CMP0049 3602ad0575 1.First upload. 5 년 전
CMP0050 3602ad0575 1.First upload. 5 년 전
CMP0051 3602ad0575 1.First upload. 5 년 전
CMP0053 3602ad0575 1.First upload. 5 년 전
CMP0054 3602ad0575 1.First upload. 5 년 전
CMP0055 3602ad0575 1.First upload. 5 년 전
CMP0057 3602ad0575 1.First upload. 5 년 전
CMP0059 3602ad0575 1.First upload. 5 년 전
CMP0060 3602ad0575 1.First upload. 5 년 전
CMP0064 3602ad0575 1.First upload. 5 년 전
CMP0065 3602ad0575 1.First upload. 5 년 전
CMP0068 3602ad0575 1.First upload. 5 년 전
CMP0069 3602ad0575 1.First upload. 5 년 전
CMakeFiles 3602ad0575 1.First upload. 5 년 전
CPack 3602ad0575 1.First upload. 5 년 전
CPackConfig 3602ad0575 1.First upload. 5 년 전
CPackInstallProperties 3602ad0575 1.First upload. 5 년 전
CPackSymlinks 3602ad0575 1.First upload. 5 년 전
CSharpCustomCommand 3602ad0575 1.First upload. 5 년 전
CTest 3602ad0575 1.First upload. 5 년 전
CTestCommandLine 3602ad0575 1.First upload. 5 년 전
CTestTimeoutAfterMatch 3602ad0575 1.First upload. 5 년 전
CacheNewline 3602ad0575 1.First upload. 5 년 전
CheckIPOSupported 3602ad0575 1.First upload. 5 년 전
CheckModules 3602ad0575 1.First upload. 5 년 전
ClangTidy 3602ad0575 1.First upload. 5 년 전
CommandLine 3602ad0575 1.First upload. 5 년 전
CommandLineTar 3602ad0575 1.First upload. 5 년 전
CompatibleInterface 3602ad0575 1.First upload. 5 년 전
CompileDefinitions 3602ad0575 1.First upload. 5 년 전
CompileFeatures 3602ad0575 1.First upload. 5 년 전
CompilerChange 3602ad0575 1.First upload. 5 년 전
CompilerLauncher 3602ad0575 1.First upload. 5 년 전
CompilerNotFound 3602ad0575 1.First upload. 5 년 전
Configure 3602ad0575 1.First upload. 5 년 전
Cppcheck 3602ad0575 1.First upload. 5 년 전
Cpplint 3602ad0575 1.First upload. 5 년 전
CrosscompilingEmulator 3602ad0575 1.First upload. 5 년 전
DisallowedCommands 3602ad0575 1.First upload. 5 년 전
ExportWithoutLanguage 3602ad0575 1.First upload. 5 년 전
ExternalData 3602ad0575 1.First upload. 5 년 전
ExternalProject 3602ad0575 1.First upload. 5 년 전
FPHSA 3602ad0575 1.First upload. 5 년 전
FeatureSummary 3602ad0575 1.First upload. 5 년 전
FetchContent 3602ad0575 1.First upload. 5 년 전
File_Generate 3602ad0575 1.First upload. 5 년 전
FindBoost 3602ad0575 1.First upload. 5 년 전
FindGTK2 3602ad0575 1.First upload. 5 년 전
FindMatlab 3602ad0575 1.First upload. 5 년 전
FindOpenGL 3602ad0575 1.First upload. 5 년 전
FindPkgConfig 3602ad0575 1.First upload. 5 년 전
Framework 3602ad0575 1.First upload. 5 년 전
GNUInstallDirs 3602ad0575 1.First upload. 5 년 전
GenerateExportHeader 3602ad0575 1.First upload. 5 년 전
GeneratorExpression 3602ad0575 1.First upload. 5 년 전
GeneratorInstance 3602ad0575 1.First upload. 5 년 전
GeneratorPlatform 3602ad0575 1.First upload. 5 년 전
GeneratorToolset 3602ad0575 1.First upload. 5 년 전
GetPrerequisites 3602ad0575 1.First upload. 5 년 전
GoogleTest 3602ad0575 1.First upload. 5 년 전
IfacePaths 3602ad0575 1.First upload. 5 년 전
IncludeWhatYouUse 3602ad0575 1.First upload. 5 년 전
IncompatibleQt 3602ad0575 1.First upload. 5 년 전
Languages 3602ad0575 1.First upload. 5 년 전
LinkStatic 3602ad0575 1.First upload. 5 년 전
LinkWhatYouUse 3602ad0575 1.First upload. 5 년 전
Make 3602ad0575 1.First upload. 5 년 전
MultiLint 3602ad0575 1.First upload. 5 년 전
Ninja 3602ad0575 1.First upload. 5 년 전
ObjectLibrary 3602ad0575 1.First upload. 5 년 전
ObsoleteQtMacros 3602ad0575 1.First upload. 5 년 전
PolicyScope 3602ad0575 1.First upload. 5 년 전
PositionIndependentCode 3602ad0575 1.First upload. 5 년 전
RuntimePath 3602ad0575 1.First upload. 5 년 전
SourceProperties 3602ad0575 1.First upload. 5 년 전
Swift 3602ad0575 1.First upload. 5 년 전
Syntax 3602ad0575 1.First upload. 5 년 전
TargetObjects 3602ad0575 1.First upload. 5 년 전
TargetPolicies 3602ad0575 1.First upload. 5 년 전
TargetPropertyGeneratorExpressions 3602ad0575 1.First upload. 5 년 전
TargetSources 3602ad0575 1.First upload. 5 년 전
ToolchainFile 3602ad0575 1.First upload. 5 년 전
VS10Project 3602ad0575 1.First upload. 5 년 전
VSSolution 3602ad0575 1.First upload. 5 년 전
VisibilityPreset 3602ad0575 1.First upload. 5 년 전
WriteCompilerDetectionHeader 3602ad0575 1.First upload. 5 년 전
XcodeProject 3602ad0575 1.First upload. 5 년 전
add_custom_command 3602ad0575 1.First upload. 5 년 전
add_custom_target 3602ad0575 1.First upload. 5 년 전
add_dependencies 3602ad0575 1.First upload. 5 년 전
add_executable 3602ad0575 1.First upload. 5 년 전
add_library 3602ad0575 1.First upload. 5 년 전
add_subdirectory 3602ad0575 1.First upload. 5 년 전
alias_targets 3602ad0575 1.First upload. 5 년 전
build_command 3602ad0575 1.First upload. 5 년 전
cmake_minimum_required 3602ad0575 1.First upload. 5 년 전
cmake_parse_arguments 3602ad0575 1.First upload. 5 년 전
configure_file 3602ad0575 1.First upload. 5 년 전
continue 3602ad0575 1.First upload. 5 년 전
ctest_build 3602ad0575 1.First upload. 5 년 전
ctest_cmake_error 3602ad0575 1.First upload. 5 년 전
ctest_configure 3602ad0575 1.First upload. 5 년 전
ctest_coverage 3602ad0575 1.First upload. 5 년 전
ctest_disabled_test 3602ad0575 1.First upload. 5 년 전
ctest_fixtures 3602ad0575 1.First upload. 5 년 전
ctest_labels_for_subprojects 3602ad0575 1.First upload. 5 년 전
ctest_memcheck 3602ad0575 1.First upload. 5 년 전
ctest_skipped_test 3602ad0575 1.First upload. 5 년 전
ctest_start 3602ad0575 1.First upload. 5 년 전
ctest_submit 3602ad0575 1.First upload. 5 년 전
ctest_test 3602ad0575 1.First upload. 5 년 전
ctest_upload 3602ad0575 1.First upload. 5 년 전
execute_process 3602ad0575 1.First upload. 5 년 전
export 3602ad0575 1.First upload. 5 년 전
file 3602ad0575 1.First upload. 5 년 전
find_dependency 3602ad0575 1.First upload. 5 년 전
find_file 3602ad0575 1.First upload. 5 년 전
find_library 3602ad0575 1.First upload. 5 년 전
find_package 3602ad0575 1.First upload. 5 년 전
find_path 3602ad0575 1.First upload. 5 년 전
find_program 3602ad0575 1.First upload. 5 년 전
foreach 3602ad0575 1.First upload. 5 년 전
get_filename_component 3602ad0575 1.First upload. 5 년 전
get_property 3602ad0575 1.First upload. 5 년 전
if 3602ad0575 1.First upload. 5 년 전
include 3602ad0575 1.First upload. 5 년 전
include_directories 3602ad0575 1.First upload. 5 년 전
include_external_msproject 3602ad0575 1.First upload. 5 년 전
include_guard 3602ad0575 1.First upload. 5 년 전
install 3602ad0575 1.First upload. 5 년 전
interface_library 3602ad0575 1.First upload. 5 년 전
list 3602ad0575 1.First upload. 5 년 전
message 3602ad0575 1.First upload. 5 년 전
no_install_prefix 3602ad0575 1.First upload. 5 년 전
project 3602ad0575 1.First upload. 5 년 전
return 3602ad0575 1.First upload. 5 년 전
separate_arguments 3602ad0575 1.First upload. 5 년 전
set 3602ad0575 1.First upload. 5 년 전
set_property 3602ad0575 1.First upload. 5 년 전
string 3602ad0575 1.First upload. 5 년 전
target_compile_features 3602ad0575 1.First upload. 5 년 전
target_link_libraries 3602ad0575 1.First upload. 5 년 전
test_include_dirs 3602ad0575 1.First upload. 5 년 전
try_compile 3602ad0575 1.First upload. 5 년 전
try_run 3602ad0575 1.First upload. 5 년 전
variable_watch 3602ad0575 1.First upload. 5 년 전
while 3602ad0575 1.First upload. 5 년 전
CMakeLists.txt 3602ad0575 1.First upload. 5 년 전
CTestTestfile.cmake 3602ad0575 1.First upload. 5 년 전
Makefile 3602ad0575 1.First upload. 5 년 전
README.rst 3602ad0575 1.First upload. 5 년 전
RunCMake.cmake 3602ad0575 1.First upload. 5 년 전
RunCTest.cmake 3602ad0575 1.First upload. 5 년 전
cmake_install.cmake 3602ad0575 1.First upload. 5 년 전
exit_code 3602ad0575 1.First upload. 5 년 전
exit_code.c 3602ad0575 1.First upload. 5 년 전
pseudo_cppcheck 3602ad0575 1.First upload. 5 년 전
pseudo_cppcheck.c 3602ad0575 1.First upload. 5 년 전
pseudo_cpplint 3602ad0575 1.First upload. 5 년 전
pseudo_cpplint.c 3602ad0575 1.First upload. 5 년 전
pseudo_emulator 3602ad0575 1.First upload. 5 년 전
pseudo_emulator.c 3602ad0575 1.First upload. 5 년 전
pseudo_emulator_custom_command 3602ad0575 1.First upload. 5 년 전
pseudo_emulator_custom_command.c 3602ad0575 1.First upload. 5 년 전
pseudo_iwyu 3602ad0575 1.First upload. 5 년 전
pseudo_iwyu.c 3602ad0575 1.First upload. 5 년 전
pseudo_tidy 3602ad0575 1.First upload. 5 년 전
pseudo_tidy.c 3602ad0575 1.First upload. 5 년 전

README.rst

This directory contains tests that run CMake to configure a project
but do not actually build anything. To add a test:

1. Add a subdirectory named for the test, say ``/``.

2. In ``./CMakeLists.txt`` call ``add_RunCMake_test`` and pass the
test directory name ````.

3. Create script ``/RunCMakeTest.cmake`` in the directory containing::

include(RunCMake)
run_cmake(SubTest1)
...
run_cmake(SubTestN)

where ``SubTest1`` through ``SubTestN`` are sub-test names each
corresponding to an independent CMake run and project configuration.

One may also add calls of the form::

run_cmake_command(SubTestI ${CMAKE_COMMAND} ...)

to fully customize the test case command-line.

Alternatively, if the test is to cover running ``ctest -S`` then use::

include(RunCTest)
run_ctest(SubTest1)
...
run_ctest(SubTestN)

and create ``test.cmake.in``, ``CTestConfig.cmake.in``, and
``CMakeLists.txt.in`` files to be configured for each case.

4. Create file ``/CMakeLists.txt`` in the directory containing::

cmake_minimum_required(...)
project(${RunCMake_TEST} NONE) # or languages needed
include(${RunCMake_TEST}.cmake)

where ``${RunCMake_TEST}`` is literal. A value for ``RunCMake_TEST``
will be passed to CMake by the ``run_cmake`` macro when running each
sub-test.

5. Create a ``/.cmake`` file for each sub-test named
above containing the actual test code. Optionally create files
containing expected test results:

``-result.txt``
Regex matching expected process result, if not ``0``
``-stdout.txt``
Regex matching expected stdout content
``-stderr.txt``
Regex matching expected stderr content, if not ``^$``
``-check.cmake``
Custom result check.

Note that trailing newlines will be stripped from actual and expected
test output before matching against the stdout and stderr expressions.
The code in ``-check.cmake`` may use variables

``RunCMake_TEST_SOURCE_DIR``
Top of test source tree
``RunCMake_TEST_BINARY_DIR``
Top of test binary tree

and an failure must store a message in ``RunCMake_TEST_FAILED``.