|
2 | 2 | type: "manual" |
3 | 3 | --- |
4 | 4 |
|
5 | | -Build all examples in the project completely and fix any issues encountered during the build process. Ensure that: |
6 | | - |
7 | | -1. All example projects/demos compile successfully without errors |
8 | | -2. All dependencies are properly resolved and installed |
9 | | -3. Any build configuration issues are identified and corrected |
10 | | -4. All functionality works as intended after the build |
11 | | -5. Run tests (if available) to verify the examples work correctly |
12 | | -6. Document any changes made to fix build issues |
13 | | - |
14 | | -Please provide a summary of: |
15 | | -- Which examples were built |
16 | | -- What issues were encountered and how they were resolved |
17 | | -- Verification that all functionality is working properly |
| 5 | +# Build All Example Projects |
| 6 | + |
| 7 | +Build all example projects in the Atom repository's `example/` directory using |
| 8 | +the MSVC compiler and vcpkg dependency manager. For each example, perform a |
| 9 | +complete build cycle and systematically resolve any compilation, linking, or |
| 10 | +runtime issues encountered. |
| 11 | + |
| 12 | +## Specific Requirements |
| 13 | + |
| 14 | +1. **Discovery Phase:** |
| 15 | + - Identify all example projects/subdirectories within `example/` |
| 16 | + - Determine the build system used for each example (CMake targets, standalone projects, etc.) |
| 17 | + - Verify which Atom modules each example depends on |
| 18 | + |
| 19 | +2. **Build Process:** |
| 20 | + - Configure and build each example using the MSVC toolchain with vcpkg |
| 21 | + - Use appropriate CMake presets or build commands consistent with the project's build system |
| 22 | + - Enable parallel compilation where possible |
| 23 | + - Build in both Debug and Release configurations if feasible |
| 24 | + |
| 25 | +3. **Issue Resolution:** |
| 26 | + - Fix all compilation errors (syntax errors, missing headers, type mismatches) |
| 27 | + - Resolve all linking errors (missing libraries, undefined symbols) |
| 28 | + - Address MSVC-specific compatibility issues using conditional compilation |
| 29 | + - Ensure cross-platform compatibility is maintained (don't break GCC/Clang) |
| 30 | + - Install any missing dependencies through vcpkg or package managers |
| 31 | + |
| 32 | +4. **Verification:** |
| 33 | + - Confirm each example executable builds successfully without errors |
| 34 | + - If the examples have associated tests, run them to verify correctness |
| 35 | + - If no automated tests exist, perform basic smoke testing by running each |
| 36 | + example binary to ensure it executes without crashing |
| 37 | + |
| 38 | +5. **Documentation:** |
| 39 | + - Track all changes made to fix build issues (file paths, errors, solutions) |
| 40 | + - Note any new dependencies added or build configuration changes |
| 41 | + - Document any platform-specific workarounds implemented |
| 42 | + |
| 43 | +## Expected Deliverables |
| 44 | + |
| 45 | +Provide a comprehensive summary containing: |
| 46 | + |
| 47 | +- **Examples Built:** Complete list of all example projects found and their |
| 48 | + build status (success/failure) |
| 49 | +- **Issues Encountered:** Detailed description of each build error, linking |
| 50 | + error, or runtime issue discovered |
| 51 | +- **Resolutions Applied:** Specific fixes implemented for each issue (code |
| 52 | + changes, dependency installations, configuration updates) |
| 53 | +- **Verification Results:** Confirmation that each example compiles, links, |
| 54 | + and runs successfully |
| 55 | +- **Build Artifacts:** Location of generated executables and any relevant |
| 56 | + build outputs |
| 57 | +- **Compatibility Notes:** Any MSVC-specific changes made and verification |
| 58 | + that cross-platform compatibility is preserved |
| 59 | + |
| 60 | +Focus on achieving a complete, successful build of all examples while |
| 61 | +maintaining code quality and cross-platform compatibility. |
0 commit comments