CMake Build System

  1. Testing with CTest
    1. CTest Overview
      1. Purpose of CTest
        1. Integration with CMake
          1. Test Discovery
          2. Enabling Testing
            1. enable_testing Command
              1. Test Infrastructure Setup
              2. Adding Tests
                1. add_test Command
                  1. Basic Syntax
                    1. Test Names
                      1. Command Specification
                        1. Working Directory
                        2. Test Arguments
                          1. Command-Line Arguments
                            1. Environment Variables
                          2. Running Tests
                            1. ctest Command-Line Tool
                              1. Basic Usage
                                1. Parallel Test Execution
                                  1. Test Selection
                                  2. Test Output
                                    1. Verbose Mode
                                      1. Output Formatting
                                        1. Log Files
                                        2. Test Results
                                          1. Return Codes
                                            1. Test Status
                                          2. Test Properties
                                            1. set_tests_properties Command
                                              1. Property Assignment
                                                1. Multiple Test Properties
                                                2. Common Test Properties
                                                  1. TIMEOUT Property
                                                    1. ENVIRONMENT Property
                                                      1. WORKING_DIRECTORY Property
                                                        1. PASS_REGULAR_EXPRESSION Property
                                                          1. FAIL_REGULAR_EXPRESSION Property
                                                            1. SKIP_REGULAR_EXPRESSION Property
                                                              1. LABELS Property
                                                                1. DEPENDS Property
                                                                2. Test Fixtures
                                                                  1. Setup and Cleanup Tests
                                                                    1. Fixture Dependencies
                                                                  2. Advanced Testing Features
                                                                    1. Test Labels and Grouping
                                                                      1. Label-Based Test Selection
                                                                        1. Test Organization
                                                                        2. Test Cost and Scheduling
                                                                          1. COST Property
                                                                            1. Test Parallelization
                                                                            2. Test Resource Management
                                                                              1. RESOURCE_LOCK Property
                                                                                1. Resource Allocation
                                                                                2. Dashboard Submission
                                                                                  1. CDash Integration
                                                                                    1. Continuous Integration