This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define SDL_MAIN_USE_CALLBACKS | |
| #include <SDL3/SDL.h> | |
| #include <SDL3/SDL_main.h> | |
| static SDL_Window *window = NULL; | |
| static SDL_Renderer *renderer = NULL; | |
| SDL_AppResult SDL_AppInit(void **appstate, int argc, char **argv) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required (VERSION 3.13) | |
| set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | |
| project(asm-dom-cmake | |
| LANGUAGES CXX | |
| VERSION 0.1.0 | |
| ) | |
| if(DEFINED EMSCRIPTEN_ROOT_PATH) | |
| set(CMAKE_SYSROOT "${EMSCRIPTEN_ROOT_PATH}/cache/sysroot") | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${CMAKE_SYSROOT}/include/compat") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ ~ su | |
| Password: | |
| [root@izmarch izmar]# pacman -S archlinux-keyring && pacman-key --init && pacman-key --populate && pacman-key --refresh-keys | |
| warning: archlinux-keyring-20220831-1 is up to date -- reinstalling | |
| resolving dependencies... | |
| looking for conflicting packages... | |
| Packages (1) archlinux-keyring-20220831-1 | |
| Total Installed Size: 1.57 MiB |