[cmake] USE_CCACHE option #349

Closed
DraVee wants to merge 4 commits from DraVee:old/windows-cache into master
Member
No description provided.
DraVee changed title from dynamic: fix build with ccache on Windows to WIP: dynamic: fix build with ccache on Windows 2025-08-29 03:10:25 +02:00
DraVee force-pushed old/windows-cache from 3977cfdf57 to e9aed8eb11 2025-08-29 03:18:27 +02:00 Compare
DraVee changed title from WIP: dynamic: fix build with ccache on Windows to WIP: ccache: add ccache as a option 2025-08-29 03:51:36 +02:00
DraVee force-pushed old/windows-cache from e9aed8eb11 to 6b5f5d1002 2025-08-31 05:39:26 +02:00 Compare
DraVee force-pushed old/windows-cache from 6b5f5d1002 to 3dc9413b8d 2025-08-31 05:57:46 +02:00 Compare
DraVee force-pushed old/windows-cache from 3dc9413b8d to 8433a1119c 2025-08-31 06:12:25 +02:00 Compare
DraVee force-pushed old/windows-cache from 8433a1119c to d3fb69c3ea 2025-08-31 06:14:18 +02:00 Compare
DraVee force-pushed old/windows-cache from d3fb69c3ea to a103a0931f 2025-08-31 06:14:32 +02:00 Compare
crueter force-pushed old/windows-cache from a103a0931f to 4da5ed78d1 2025-08-31 06:32:18 +02:00 Compare
DraVee force-pushed old/windows-cache from 4da5ed78d1 to 9167208a01 2025-08-31 20:11:07 +02:00 Compare
DraVee force-pushed old/windows-cache from cdef402433 to e7a7ad48d7 2025-08-31 22:59:25 +02:00 Compare
DraVee force-pushed old/windows-cache from e7a7ad48d7 to c96ac2999e 2025-08-31 23:03:34 +02:00 Compare
DraVee force-pushed old/windows-cache from c96ac2999e to e04ecae35b 2025-08-31 23:20:39 +02:00 Compare
DraVee force-pushed old/windows-cache from e04ecae35b to 84cb676cc8 2025-08-31 23:33:40 +02:00 Compare
DraVee changed title from WIP: ccache: add ccache as a option to WIP: ccache: properly move ccache option to root 2025-08-31 23:36:29 +02:00
crueter changed title from WIP: ccache: properly move ccache option to root to [cmake] USE_CCACHE option 2025-09-08 00:39:51 +02:00
Owner

Needs testing on CI

Needs testing on CI
crueter changed title from [cmake] USE_CCACHE option to WIP: [cmake] USE_CCACHE option 2025-09-08 00:40:16 +02:00
DraVee force-pushed old/windows-cache from 84cb676cc8 to e0f26172c1 2025-09-09 03:09:55 +02:00 Compare
DraVee force-pushed old/windows-cache from e0f26172c1 to be1d1df71f 2025-09-09 03:25:38 +02:00 Compare
Author
Member

This needs a prior fix on how we handle CMAKE_FLAGS, otherwise this will be just another workaround with chances to break another platform build

Will need to wait until #348 is merged to avoid conflicts

This needs a prior fix on how we handle CMAKE_<LANG>_FLAGS_<CONFIG>, otherwise this will be just another workaround with chances to break another platform build Will need to wait until #348 is merged to avoid conflicts
DraVee force-pushed old/windows-cache from be1d1df71f to 4632cc870d 2025-09-10 02:14:03 +02:00 Compare
DraVee force-pushed old/windows-cache from 4632cc870d to 85c13de4ff 2025-09-10 03:01:20 +02:00 Compare
DraVee changed title from WIP: [cmake] USE_CCACHE option to [cmake] USE_CCACHE option 2025-09-10 03:01:55 +02:00
Author
Member

@crueter should be the final version now (my head hurts)

@crueter should be the final version now (my head hurts)
DraVee force-pushed old/windows-cache from 85c13de4ff to 8cb7abe0ab 2025-09-10 03:03:15 +02:00 Compare
DraVee force-pushed old/windows-cache from 8cb7abe0ab to 9ad64c9936 2025-09-10 03:05:20 +02:00 Compare
crueter requested changes 2025-09-10 03:06:25 +02:00
crueter left a comment
Owner

Let's also add an option to the build scripts

Let's also add an option to the build scripts
CMakeLists.txt Outdated
@ -258,0 +258,4 @@
message(STATUS "Found ccache at: ${CCACHE_BINARY}")
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_BINARY})
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE_BINARY})
set(CMAKE_OBJC_COMPILER_LAUNCHER ${CCACHE_BINARY})
Owner

Not needed probably

Not needed probably
Author
Member

I used the same options set by SDL, but I will remove anyway, just a sec

I used the same options set by SDL, but I will remove anyway, just a sec
DraVee marked this conversation as resolved
DraVee force-pushed old/windows-cache from eb074bef87 to cda169e4de 2025-09-10 03:38:29 +02:00 Compare
DraVee force-pushed old/windows-cache from cda169e4de to 62231c2a98 2025-09-13 01:03:28 +02:00 Compare
DraVee force-pushed old/windows-cache from 62231c2a98 to 572da97743 2025-09-15 22:37:03 +02:00 Compare
DraVee force-pushed old/windows-cache from 572da97743 to 6df0e094cd 2025-09-16 03:21:51 +02:00 Compare
DraVee added 1 commit 2025-09-16 04:39:43 +02:00
.ci: Fix usage of extra flags as an argument
All checks were successful
eden-license / license-header (pull_request) Successful in 41s
c8981e6f9e
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
requested reviews from crueter, MaranBr, Lizzie 2025-09-18 02:30:02 +02:00
DraVee force-pushed old/windows-cache from c8981e6f9e to 07655116e9 2025-09-18 02:30:38 +02:00 Compare
DraVee force-pushed old/windows-cache from 07655116e9 to 242c60cdcb 2025-09-18 02:32:59 +02:00 Compare
Author
Member

Will rework this in the future

Will rework this in the future
DraVee closed this pull request 2025-09-25 08:11:42 +02:00
All checks were successful
eden-license / license-header (pull_request) Successful in 40s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.