major: initial release

* initial development

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* pokemon

* pokemon

* pokemon

* pokemon

* pokemon

* pokemon

* improvements

* improvements

* ci/cd

* ci/cd

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

---------

Co-authored-by: sdine <sdine@sdine.com>
This commit is contained in:
Sebastian Dine
2026-05-09 11:05:47 +02:00
committed by GitHub
co-authored by sdine
parent 13262fa015
commit 55ace147bc
149 changed files with 12611 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# Shared warning configuration as an INTERFACE library so each first-party
# target can opt in with `target_link_libraries(<tgt> PRIVATE ccm_warnings)`
# without duplicating flags.
add_library(ccm_warnings INTERFACE)
set(_CCM_GCC_CLANG_FLAGS
-Wall
-Wextra
-Wpedantic
-Wshadow
-Wnon-virtual-dtor
-Wcast-align
-Wunused
-Woverloaded-virtual
-Wnull-dereference
-Wdouble-promotion
-Wformat=2
# -Wconversion / -Wsign-conversion are intentionally NOT enabled - they
# fight badly with wxWidgets's wxWindowID = int API surface and the
# noise-to-signal ratio doesn't justify it for a single-binary app.
)
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang|AppleClang")
target_compile_options(ccm_warnings INTERFACE ${_CCM_GCC_CLANG_FLAGS})
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_compile_options(ccm_warnings INTERFACE /W4 /permissive-)
endif()
# UTF-8 source/exec encoding everywhere.
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_compile_options(ccm_warnings INTERFACE /utf-8)
endif()