Skip to content

Conversation

@Masterkatze
Copy link
Contributor

@Masterkatze Masterkatze commented Apr 30, 2025

Description

Enable the FetchContent output so developer can see the downloading process, otherwise it looks like CMake configure phase is frozen for a minute (depends on download speed) due to the size of neoAssets.

Example output:

[cmake] [1/9] Performing download step (git clone) for 'neo_assets-populate'
[cmake] Cloning into 'neo_assets-src'...
[cmake] remote: Enumerating objects: 1212, done.        
[cmake] remote: Counting objects:   0% (1/1212)        
[cmake] remote: Counting objects:   1% (13/1212)        
...
[cmake] remote: Counting objects: 100% (1212/1212)        
[cmake] remote: Counting objects: 100% (1212/1212), done.        
[cmake] remote: Compressing objects:   0% (1/655)        
...
[cmake] remote: Compressing objects: 100% (655/655), done.        
[cmake] Receiving objects:   0% (1/1212)
[cmake] Receiving objects:   1% (13/1212), 6.31 MiB | 12.55 MiB/s
...
[cmake] Receiving objects:  99% (1200/1212), 344.15 MiB | 10.51 MiB/s
[cmake] remote: Total 1212 (delta 524), reused 1181 (delta 519), pack-reused 0 (from 0)        
[cmake] Receiving objects: 100% (1212/1212), 349.38 MiB | 10.54 MiB/s
[cmake] Receiving objects: 100% (1212/1212), 351.38 MiB | 8.79 MiB/s, done.
[cmake] Resolving deltas:   0% (0/524)
[cmake] Resolving deltas:   1% (7/524)
...
[cmake] Resolving deltas: 100% (524/524), done.
[cmake] Already on 'master'
[cmake] Your branch is up to date with 'origin/master'.
[cmake] [2/9] Performing update step for 'neo_assets-populate'
[cmake] -- Fetching latest from the remote origin
[cmake] [3/9] No patch step for 'neo_assets-populate'
[cmake] [5/9] No configure step for 'neo_assets-populate'
[cmake] [6/9] No build step for 'neo_assets-populate'
[cmake] [7/9] No install step for 'neo_assets-populate'
[cmake] [8/9] No test step for 'neo_assets-populate'
[cmake] [9/9] Completed 'neo_assets-populate'

Toolchain

  • Linux GCC Native [Arch, g++ (GCC) 14.2.1 20250207]

@Masterkatze Masterkatze added the Build System CMake and other build-related stuff label Apr 30, 2025
@Masterkatze Masterkatze requested a review from a team May 1, 2025 00:11
@brysondev brysondev requested a review from a team May 1, 2025 23:43
@Masterkatze Masterkatze merged commit 9f84bbc into NeotokyoRebuild:master May 10, 2025
7 checks passed
@Masterkatze Masterkatze deleted the fetchcontent_output branch May 10, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build System CMake and other build-related stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants