diff options
36 files changed, 2179 insertions, 606 deletions
diff --git a/.DS_Store b/.DS_Store Binary files differnew file mode 100644 index 0000000..a9fc6b1 --- /dev/null +++ b/.DS_Store diff --git a/.cache/clangd/index/TETRIS.c.921B6337581477A4.idx b/.cache/clangd/index/TETRIS.c.921B6337581477A4.idx Binary files differindex 7f18b2d..436b42b 100644 --- a/.cache/clangd/index/TETRIS.c.921B6337581477A4.idx +++ b/.cache/clangd/index/TETRIS.c.921B6337581477A4.idx diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..0ecc223 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,23 @@ +{ + "configurations": [ + { + "name": "Mac", + "includePath": [ + "${workspaceFolder}/**" + ], + "defines": [], + "macFrameworkPath": [ + "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks" + ], + "compilerPath": "/usr/bin/gcc", + "cStandard": "c23", + "cppStandard": "c++23", + "intelliSenseMode": "macos-gcc-x64", + "compilerArgs": [ + "-I/opt/homebrew/Cellar/raylib/5.5/include", + "-L/opt/homebrew/Cellar/raylib/5.5/lib" + ] + } + ], + "version": 4 +}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..22247a9 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "C_Cpp.errorSquiggles": "disabled" +} @@ -1,278 +0,0 @@ -#include <raylib.h> -#include <stdlib.h> -#include <stdio.h> -#include <time.h> - -// GAME SETTINGS -#define FPS 30 -#define FONT_SIZE 20 - -#define TETROMINO_SIZE 4 - -#define CYAN_I (Color) { 0, 255, 255, 255 } -#define YELLOW_O (Color) { 255, 255, 102, 255 } -#define PURPLE_T (Color) { 138, 43, 226, 255 } -#define GREEN_S (Color) { 34, 139, 34, 255 } -#define RED_Z (Color) { 255, 69, 0, 255 } -#define BLUE_J (Color) { 70, 130, 180, 255 } -#define ORANGE_L (Color) { 255, 140, 0, 255 } - -// Window and Grid Settings -static const int SCREEN_WIDTH = 400; -static const int SCREEN_HEIGHT = 600; -static const int COLUMNS = 10; -static const int ROWS = 20; -static const int CELL_WIDTH = SCREEN_WIDTH / COLUMNS; -static const int CELL_HEIGHT = SCREEN_HEIGHT / ROWS; - -static int SCORE = 0; - -typedef struct -{ - int blocks[TETROMINO_SIZE][TETROMINO_SIZE]; - Color color; - int x; - int y; - -} TETROMINO; - -TETROMINO TETROMINOES[7] = { - // Making the tetrominoes in an array design - { - { - {0, 0, 0, 0}, - {1, 1, 1, 1}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - CYAN_I, 0, 0}, - - { - { - {0, 1, 1, 0}, - {0, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - YELLOW_O, 0, 0}, - { - { - {0, 1, 0, 0}, - {1, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - PURPLE_T, 0, 0}, - { - { - {0, 1, 1, 0}, - {1, 1, 0, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - GREEN_S, 0, 0}, - { - { - {1, 1, 0, 0}, - {0, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - RED_Z, 0, 0}, - { - { - {1, 0, 0, 0}, - {1, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - BLUE_J, 0, 0}, - { - { - {0, 0, 1, 0}, - {1, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - ORANGE_L, 0, 0}, -}; - -void DRAW_GRID_BACKGROUND() -{ - for (int i = 0; i <= COLUMNS; i++) - { - DrawLine(i * CELL_WIDTH, 0, i * CELL_WIDTH, SCREEN_HEIGHT, GRAY); - } - for (int j = 0; j <= ROWS; j++) - { - DrawLine(0, j * CELL_HEIGHT, SCREEN_WIDTH, j * CELL_HEIGHT, GRAY); - } -} - -int **CREATE_TETROMINOS_GRID(int rows, int columns) -{ - int **array = malloc(rows * sizeof(int *)); - if (!array) - return NULL; - - for (int i = 0; i < rows; i++) - { - array[i] = calloc(columns, sizeof(int)); - if (!array[i]) - { - for (int j = 0; j < i; j++) - free(array[j]); - free(array); - return NULL; - } - } - return array; -} - -// detect if the active tetromino is hitting another tetromino -int COLLISION_DETECTION(TETROMINO *ACTIVE_TETROMINO, int **GRID) -{ - for (int y = 0; y < TETROMINO_SIZE; y++) { - for (int x = 0; x < TETROMINO_SIZE; x++) { - if (ACTIVE_TETROMINO->blocks[y][x] == 1) { - int GRID_X = ACTIVE_TETROMINO->x + x; - int GRID_Y = ACTIVE_TETROMINO->y + y; - - if (GRID_X < 0 || GRID_X >= COLUMNS || GRID_Y >= ROWS) { - // COLLISION - return 1; - } - - if (GRID_X >= 0 && GRID[GRID_Y][GRID_X] == 1) { - // COLLISION - return 1; - } - } - } - } - - // NO COLLISION - return 0; -} - -void FREE_GRID(int **array, int rows) -{ - for (int i = 0; i < rows; i++) - free(array[i]); - free(array); -} - -void DRAW_TETROMINO(TETROMINO *tetromino) -{ - for (int y = 0; y < TETROMINO_SIZE; y++) - { - for (int x = 0; x < TETROMINO_SIZE; x++) - { - if (tetromino->blocks[y][x] == 1) - { - DrawRectangle( - (tetromino->x + x) * CELL_WIDTH, - (tetromino->y + y) * CELL_HEIGHT, - CELL_WIDTH, CELL_HEIGHT, - tetromino->color); - } - } - } -} - -TETROMINO SPAWN_TETROMINO() -{ - int RANDOM_INDEX = GetRandomValue(0, 6); - TETROMINO tetromino = TETROMINOES[RANDOM_INDEX]; - tetromino.x = COLUMNS / 2 - 2; - tetromino.y = 0; - return tetromino; -} - -void MOVE_TETROMINO(TETROMINO *tetromino, int **GRID) -{ - if (!IsKeyDown(KEY_LEFT_SHIFT) && COLLISION_DETECTION(tetromino, GRID) == 0) - { - if (IsKeyDown(KEY_RIGHT) && tetromino->x + TETROMINO_SIZE < COLUMNS) - tetromino->x++; - if (IsKeyDown(KEY_LEFT) && tetromino->x > 0) - tetromino->x--; - if (IsKeyDown(KEY_DOWN) && tetromino->y < ROWS - 2 ) - tetromino->y++; - } -} - -void SAVE_TETROMINO(TETROMINO *tetromino, int **GRID) -{ - for (int y = 0; y < TETROMINO_SIZE; y++) - { - for (int x = 0; x < TETROMINO_SIZE; x++) - { - if (tetromino->blocks[y][x] == 1) - { - int GRIDX = tetromino->x + x; - int GRIDY = tetromino->y + y; - if (GRIDX <= COLUMNS && GRIDY >= 0 && GRIDY <= ROWS - 2) - GRID[GRIDY][GRIDX] = 1; - } - } - } -} - -void DRAW_SAVED_TETROMINO(int **GRID, TETROMINO *tetromino) -{ - for (int y = 0; y < ROWS; y++) - { - for (int x = 0; x < COLUMNS; x++) - { - if (GRID[y][x] == 1) - DrawRectangle(x * CELL_WIDTH, y * CELL_HEIGHT, CELL_WIDTH, CELL_HEIGHT, tetromino->color); - } - } -} - -void DRAW_STATS(TETROMINO *tetromino) -{ - char SCORE_TEXT[16]; - sprintf(SCORE_TEXT, "SCORE: %d", SCORE); - DrawText(SCORE_TEXT, 10, 10, FONT_SIZE, BLUE); - - char CURRENT_Y_POSITION[16], CURRENT_X_POSITION[16]; - sprintf(CURRENT_Y_POSITION, "Y: %d", tetromino->y); - sprintf(CURRENT_X_POSITION, "X: %d", tetromino->x); - DrawText(CURRENT_Y_POSITION, 10, 30, FONT_SIZE, BLUE); - DrawText(CURRENT_X_POSITION, 10, 50, FONT_SIZE, BLUE); -} - -int main() -{ - InitWindow(SCREEN_WIDTH, SCREEN_HEIGHT, "Tetris"); - SetTargetFPS(FPS); - - TETROMINO ACTIVE_TETROMINO = SPAWN_TETROMINO(); - int **GRID = CREATE_TETROMINOS_GRID(ROWS, COLUMNS); - if (!GRID) - { - CloseWindow(); - return 1; - } - - while (!WindowShouldClose()) - { - BeginDrawing(); - ClearBackground(BLACK); - - DRAW_GRID_BACKGROUND(); - DRAW_SAVED_TETROMINO(GRID, &ACTIVE_TETROMINO); - DRAW_TETROMINO(&ACTIVE_TETROMINO); - DRAW_STATS(&ACTIVE_TETROMINO); - - MOVE_TETROMINO(&ACTIVE_TETROMINO, GRID); - - if (ACTIVE_TETROMINO.y == ROWS - 2 && COLLISION_DETECTION(&ACTIVE_TETROMINO,GRID) == 0) - { - SCORE++; - SAVE_TETROMINO(&ACTIVE_TETROMINO, GRID); - ACTIVE_TETROMINO = SPAWN_TETROMINO(); - } - - EndDrawing(); - } - - FREE_GRID(GRID, ROWS); - CloseWindow(); - return 0; -} @@ -1,27 +1,53 @@ +/* + * ===================================================================================== + * + * Filename: Tetris.c + * + * Description: Tetris in raylib + * + * Version: 1.0 + * Created: 01/17/2025 09:58:53 + * Revision: 1.0 + * Compiler: gcc + * + * Author: nsrddyn, + * Organization: + * + * ===================================================================================== + */ + #include <raylib.h> #include <stdlib.h> #include <stdio.h> #include <time.h> // GAME SETTINGS -#define FPS 30 -#define FONT_SIZE 20 +#define FPS 60 +#define FONT_SIZE 10 -#define TETROMINO_SIZE 4 +#define TETROMINO_SIZE_HEIGHT 2 +#define TETROMINO_SIZE_WIDTH 4 -#define CYAN_I (Color) { 0, 255, 255, 255 } -#define YELLOW_O (Color) { 255, 255, 102, 255 } -#define PURPLE_T (Color) { 138, 43, 226, 255 } -#define GREEN_S (Color) { 34, 139, 34, 255 } -#define RED_Z (Color) { 255, 69, 0, 255 } -#define BLUE_J (Color) { 70, 130, 180, 255 } -#define ORANGE_L (Color) { 255, 140, 0, 255 } +#define CYAN_I \ + (Color) { 0, 255, 255, 255 } +#define YELLOW_O \ + (Color) { 255, 255, 102, 255 } +#define PURPLE_T \ + (Color) { 138, 43, 226, 255 } +#define GREEN_S \ + (Color) { 34, 139, 34, 255 } +#define RED_Z \ + (Color) { 255, 69, 0, 255 } +#define BLUE_J \ + (Color) { 70, 130, 180, 255 } +#define ORANGE_L \ + (Color) { 255, 140, 0, 255 } // Window and Grid Settings -static const int SCREEN_WIDTH = 400; -static const int SCREEN_HEIGHT = 600; -static const int COLUMNS = 10; -static const int ROWS = 20; +static const int SCREEN_WIDTH = 400; +static const int SCREEN_HEIGHT = 600; +static const int COLUMNS = 10; // Default standardized value for the amount of COLUMNS +static const int ROWS = 20; // Default standardized value for the amount of ROWS static const int CELL_WIDTH = SCREEN_WIDTH / COLUMNS; static const int CELL_HEIGHT = SCREEN_HEIGHT / ROWS; @@ -29,10 +55,10 @@ static int SCORE = 0; typedef struct { - int blocks[TETROMINO_SIZE][TETROMINO_SIZE]; + int blocks[TETROMINO_SIZE_HEIGHT][TETROMINO_SIZE_WIDTH]; Color color; - int x; - int y; + int x; + int y; } TETROMINO; @@ -42,55 +68,76 @@ TETROMINO TETROMINOES[7] = { { {0, 0, 0, 0}, {1, 1, 1, 1}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - CYAN_I, 0, 0}, + }, + CYAN_I, + COLUMNS / 2, + 0}, + // supposed to have 2 forms of rotations + // default spawn location is: center { { {0, 1, 1, 0}, {0, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - YELLOW_O, 0, 0}, + }, + YELLOW_O, + COLUMNS / 2, + 0}, + // supposed to have no rotation forms + // default spawn location is: center { { {0, 1, 0, 0}, {1, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - PURPLE_T, 0, 0}, + }, + PURPLE_T, + 0, + 0}, + // flat side left center + // 4 rotational forms { { {0, 1, 1, 0}, {1, 1, 0, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - GREEN_S, 0, 0}, + }, + GREEN_S, + 0, + 0}, + // left center + // 4 rotational forms { { {1, 1, 0, 0}, {0, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - RED_Z, 0, 0}, + }, + RED_Z, + 0, + 0}, + // left center + // 4 rotational forms { { {1, 0, 0, 0}, {1, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - BLUE_J, 0, 0}, + }, + BLUE_J, + 0, + 0}, + // flat side first and left center + // 4 rotational forms { { {0, 0, 1, 0}, {1, 1, 1, 0}, - {0, 0, 0, 0}, - {0, 0, 0, 0}}, - ORANGE_L, 0, 0}, + }, + ORANGE_L, + 0, + 0}, + // flat side first and left center + // 4 rotational forms }; -void DRAW_GRID_BACKGROUND() +void DRAW_BACKGROUND_GRID() { for (int i = 0; i <= COLUMNS; i++) { @@ -109,6 +156,7 @@ int **CREATE_TETROMINOS_GRID(int rows, int columns) return NULL; for (int i = 0; i < rows; i++) + { array[i] = calloc(columns, sizeof(int)); if (!array[i]) @@ -122,32 +170,95 @@ int **CREATE_TETROMINOS_GRID(int rows, int columns) return array; } -// detect if the active tetromino is hitting another tetromino -int COLLISION_DETECTION(TETROMINO *ACTIVE_TETROMINO, int **GRID) +void CHECK_FULL_LINE(int **GRID) { - for (int y = 0; y < TETROMINO_SIZE; y++) { - for (int x = 0; x < TETROMINO_SIZE; x++) { - if (ACTIVE_TETROMINO->blocks[y][x] == 1) { - int GRID_X = ACTIVE_TETROMINO->x + x; - int GRID_Y = ACTIVE_TETROMINO->y + y; + for (int y = 0; y < ROWS; y++) + { + bool FULL_LINE = true; - if (GRID_X < 0 || GRID_X >= COLUMNS || GRID_Y >= ROWS) { - // COLLISION - return 1; - } + for (int x = 0; x < COLUMNS; x++) + { + if (GRID[y][x] == 0) + { + FULL_LINE = false; + break; + } + } - if (GRID_X >= 0 && GRID[GRID_Y][GRID_X] == 1) { - // COLLISION - return 1; - } + if (FULL_LINE) + { + for (int i = y; i > 0; i--) + { + for (int x = 0; x < COLUMNS; x++) + GRID[i][x] = GRID[i - 1][x]; } + + for (int x = 0; x < COLUMNS; x++) + GRID[ROWS - 2][x] = 0; + + SCORE += 10; } } +} + + + +// Detect if the active tetromino is hitting another tetromino +int COLLISION_DETECTION(TETROMINO *tetromino, int **GRID) +{ + + // FIND THE WIDTH AND HEIGHT OF THE ACTIVE TETROMINO + + int CURRENT_LOWEST_INDEX_X = 0; + int CURRENT_LOWEST_INDEX_Y = 0; + + for (int y = 0; y < TETROMINO_SIZE_HEIGHT; y++) + { + for (int x = 0; x < TETROMINO_SIZE_WIDTH; x++) + { + if (tetromino->blocks[y][x] == 1) + { + CURRENT_LOWEST_INDEX_X = x; + CURRENT_LOWEST_INDEX_Y = y; + } + } + } + + for (int i = 0; i < TETROMINO_SIZE_HEIGHT; i++) + { + for (int j = 0; j < TETROMINO_SIZE_WIDTH; j++) + { + if (tetromino->blocks[i][j] == 1) + { + int GRID_X = tetromino->x + j; + int GRID_Y = tetromino->y + i; + + + // BLOCKS COLLISION + if (GRID_Y > 0 && GRID[GRID_Y][GRID_X] != 0) + return 1; + } + } + } // NO COLLISION return 0; } +int *ROTATE_ACTIVE_TETROMINO(TETROMINO *tetromino, int **GRID) +{ + int *ROTATED_TETROMINO; + + for (int x = 0; x < COLUMNS; x++) + { + for (int y = 0; y < ROWS; y++) + { + ROTATED_TETROMINO = 0; + } + } + return ROTATED_TETROMINO; +} + void FREE_GRID(int **array, int rows) { for (int i = 0; i < rows; i++) @@ -157,17 +268,17 @@ void FREE_GRID(int **array, int rows) void DRAW_TETROMINO(TETROMINO *tetromino) { - for (int y = 0; y < TETROMINO_SIZE; y++) + for (int y = 0; y < TETROMINO_SIZE_HEIGHT; y++) { - for (int x = 0; x < TETROMINO_SIZE; x++) + for (int x = 0; x < TETROMINO_SIZE_WIDTH; x++) { if (tetromino->blocks[y][x] == 1) { DrawRectangle( - (tetromino->x + x) * CELL_WIDTH, - (tetromino->y + y) * CELL_HEIGHT, - CELL_WIDTH, CELL_HEIGHT, - tetromino->color); + (tetromino->x + x) * CELL_WIDTH, + (tetromino->y + y) * CELL_HEIGHT, + CELL_WIDTH, CELL_HEIGHT, + tetromino->color); } } } @@ -177,29 +288,33 @@ TETROMINO SPAWN_TETROMINO() { int RANDOM_INDEX = GetRandomValue(0, 6); TETROMINO tetromino = TETROMINOES[RANDOM_INDEX]; - tetromino.x = COLUMNS / 2 - 2; - tetromino.y = 0; + + if (tetromino.x == 0) + { + tetromino.x = COLUMNS / 2 - 2; + tetromino.y = 0; + } return tetromino; } void MOVE_TETROMINO(TETROMINO *tetromino, int **GRID) { - if (!IsKeyDown(KEY_LEFT_SHIFT) && COLLISION_DETECTION(tetromino, GRID) == 0) - { - if (IsKeyDown(KEY_RIGHT) && tetromino->x + TETROMINO_SIZE < COLUMNS) - tetromino->x++; - if (IsKeyDown(KEY_LEFT) && tetromino->x > 0) - tetromino->x--; - if (IsKeyDown(KEY_DOWN) && tetromino->y < ROWS - 2 ) - tetromino->y++; - } + // RIGHT WALL COLLISION DETECTION BY STOPPING MOVEMENT + if (IsKeyDown(KEY_RIGHT) && COLLISION_DETECTION(tetromino, GRID) == 0 && tetromino->x < COLUMNS - 2) + tetromino->x++; + // LEFT WALL COLLISION DETECTION BY STOPPING MOVEMENT + if (IsKeyDown(KEY_LEFT) && COLLISION_DETECTION(tetromino, GRID) == 0 && tetromino->x > 0) + tetromino->x--; + // BOTTOM ROW COLLISION DETECTION BY STOPPING MOVEMENT + if (IsKeyDown(KEY_DOWN) && COLLISION_DETECTION(tetromino, GRID) == 0 && tetromino->y < ROWS - 2) + tetromino->y++; } void SAVE_TETROMINO(TETROMINO *tetromino, int **GRID) { - for (int y = 0; y < TETROMINO_SIZE; y++) + for (int y = 0; y < TETROMINO_SIZE_HEIGHT; y++) { - for (int x = 0; x < TETROMINO_SIZE; x++) + for (int x = 0; x < TETROMINO_SIZE_WIDTH; x++) { if (tetromino->blocks[y][x] == 1) { @@ -219,7 +334,7 @@ void DRAW_SAVED_TETROMINO(int **GRID, TETROMINO *tetromino) for (int x = 0; x < COLUMNS; x++) { if (GRID[y][x] == 1) - DrawRectangle((x * CELL_WIDTH) , (y * CELL_HEIGHT) , CELL_WIDTH, CELL_HEIGHT, tetromino->color); + DrawRectangle((x * CELL_WIDTH), (y * CELL_HEIGHT), CELL_WIDTH, CELL_HEIGHT, tetromino->color); } } } @@ -230,44 +345,34 @@ void DRAW_STATS(TETROMINO *tetromino) sprintf(SCORE_TEXT, "SCORE: %d", SCORE); DrawText(SCORE_TEXT, 10, 10, FONT_SIZE, BLUE); - char CURRENT_Y_POSITION[16], CURRENT_X_POSITION[16]; - sprintf(CURRENT_Y_POSITION, "Y: %d", tetromino->y); - sprintf(CURRENT_X_POSITION, "X: %d", tetromino->x); - DrawText(CURRENT_Y_POSITION, 10, 30, FONT_SIZE, BLUE); - DrawText(CURRENT_X_POSITION, 10, 50, FONT_SIZE, BLUE); -} + char CURRENT_Y_POSITION[32], CURRENT_X_POSITION[32]; + sprintf(CURRENT_Y_POSITION, "Y COÖRDINATE: %d", tetromino->y); + sprintf(CURRENT_X_POSITION, "X COÖRDINATE: %d", tetromino->x); + DrawText(CURRENT_Y_POSITION, 10, 50, FONT_SIZE, BLUE); + DrawText(CURRENT_X_POSITION, 10, 80, FONT_SIZE, BLUE); -void CHECK_FULL_LINE(int **GRID) -{ - int LAST_LINE_Y = ROWS - 2; - bool FULL_LINE = true; + int POS_X = SCREEN_WIDTH / 2; + int POS_Y = SCREEN_HEIGHT / 2; - for (int x = 0; x <= COLUMNS; x++) - { - if (GRID[LAST_LINE_Y][x] == 0) - { - FULL_LINE = false; - } - - } - if (!FULL_LINE){ - for (int x = 0; x <= COLUMNS; x++) - { - GRID[LAST_LINE_Y][x] = GRID[LAST_LINE_Y][0]; - } - } + const char ERROR_TEXT[] = "LOW FPS"; + if (GetFPS() < 40) + DrawText(ERROR_TEXT, POS_X, POS_Y, FONT_SIZE, RED); } int main() { + // Initialize the window and set the wanted FPS InitWindow(SCREEN_WIDTH, SCREEN_HEIGHT, "Tetris"); SetTargetFPS(FPS); + + // Spawn a new tetromino TETROMINO ACTIVE_TETROMINO = SPAWN_TETROMINO(); + int **GRID = CREATE_TETROMINOS_GRID(ROWS, COLUMNS); if (!GRID) { - printf("FAILED TO ALLOCATE MEMORY FOR THE GRID"); + printf("Failed to allocate memory for the grid."); CloseWindow(); return 1; } @@ -277,14 +382,14 @@ int main() BeginDrawing(); ClearBackground(BLACK); - DRAW_GRID_BACKGROUND(); + DRAW_BACKGROUND_GRID(); DRAW_SAVED_TETROMINO(GRID, &ACTIVE_TETROMINO); DRAW_TETROMINO(&ACTIVE_TETROMINO); DRAW_STATS(&ACTIVE_TETROMINO); MOVE_TETROMINO(&ACTIVE_TETROMINO, GRID); - if (ACTIVE_TETROMINO.y == ROWS - 2 && COLLISION_DETECTION(&ACTIVE_TETROMINO,GRID) == 0) + if (ACTIVE_TETROMINO.y == ROWS - 2 || COLLISION_DETECTION(&ACTIVE_TETROMINO, GRID) != 0) { SCORE++; SAVE_TETROMINO(&ACTIVE_TETROMINO, GRID); diff --git a/build/.cmake/api/v1/query/client-vscode/query.json b/build/.cmake/api/v1/query/client-vscode/query.json new file mode 100644 index 0000000..82bb964 --- /dev/null +++ b/build/.cmake/api/v1/query/client-vscode/query.json @@ -0,0 +1 @@ +{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]}
\ No newline at end of file diff --git a/build/.cmake/api/v1/reply/cache-v2-88b9b0feae305cd4003e.json b/build/.cmake/api/v1/reply/cache-v2-88b9b0feae305cd4003e.json new file mode 100644 index 0000000..5080f43 --- /dev/null +++ b/build/.cmake/api/v1/reply/cache-v2-88b9b0feae305cd4003e.json @@ -0,0 +1,1183 @@ +{ + "entries" : + [ + { + "name" : "CMAKE_ADDR2LINE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_ADDR2LINE-NOTFOUND" + }, + { + "name" : "CMAKE_AR", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ar" + }, + { + "name" : "CMAKE_BUILD_TYPE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "STRING", + "value" : "Debug" + }, + { + "name" : "CMAKE_CACHEFILE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "This is the directory where this CMakeCache.txt was created" + } + ], + "type" : "INTERNAL", + "value" : "/Users/nsrddyn/Documents/Tetris/build" + }, + { + "name" : "CMAKE_CACHE_MAJOR_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Major version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "3" + }, + { + "name" : "CMAKE_CACHE_MINOR_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Minor version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "31" + }, + { + "name" : "CMAKE_CACHE_PATCH_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Patch version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "4" + }, + { + "name" : "CMAKE_COLOR_MAKEFILE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable/Disable color output during build." + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "CMAKE_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to CMake executable." + } + ], + "type" : "INTERNAL", + "value" : "/opt/homebrew/bin/cmake" + }, + { + "name" : "CMAKE_CPACK_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to cpack program executable." + } + ], + "type" : "INTERNAL", + "value" : "/opt/homebrew/bin/cpack" + }, + { + "name" : "CMAKE_CTEST_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to ctest program executable." + } + ], + "type" : "INTERNAL", + "value" : "/opt/homebrew/bin/ctest" + }, + { + "name" : "CMAKE_CXX_COMPILER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/clang++" + }, + { + "name" : "CMAKE_CXX_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_CXX_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "-g" + }, + { + "name" : "CMAKE_CXX_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "-Os -DNDEBUG" + }, + { + "name" : "CMAKE_CXX_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "-O3 -DNDEBUG" + }, + { + "name" : "CMAKE_CXX_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the CXX compiler during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "-O2 -g -DNDEBUG" + }, + { + "name" : "CMAKE_C_COMPILER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/clang" + }, + { + "name" : "CMAKE_C_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_C_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "-g" + }, + { + "name" : "CMAKE_C_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "-Os -DNDEBUG" + }, + { + "name" : "CMAKE_C_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "-O3 -DNDEBUG" + }, + { + "name" : "CMAKE_C_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "-O2 -g -DNDEBUG" + }, + { + "name" : "CMAKE_DLLTOOL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_DLLTOOL-NOTFOUND" + }, + { + "name" : "CMAKE_EDIT_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to cache edit program executable." + } + ], + "type" : "INTERNAL", + "value" : "/opt/homebrew/bin/ccmake" + }, + { + "name" : "CMAKE_EXECUTABLE_FORMAT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Executable file format" + } + ], + "type" : "INTERNAL", + "value" : "MACHO" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXPORT_COMPILE_COMMANDS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "BOOL", + "value" : "TRUE" + }, + { + "name" : "CMAKE_EXTRA_GENERATOR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of external makefile project generator." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_FIND_PACKAGE_REDIRECTS_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake." + } + ], + "type" : "STATIC", + "value" : "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/pkgRedirects" + }, + { + "name" : "CMAKE_GENERATOR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator." + } + ], + "type" : "INTERNAL", + "value" : "Unix Makefiles" + }, + { + "name" : "CMAKE_GENERATOR_INSTANCE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Generator instance identifier." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR_PLATFORM", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator platform." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR_TOOLSET", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator toolset." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_HOME_DIRECTORY", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Source directory with the top level CMakeLists.txt file for this project" + } + ], + "type" : "INTERNAL", + "value" : "/Users/nsrddyn/Documents/Tetris" + }, + { + "name" : "CMAKE_INSTALL_NAME_TOOL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/install_name_tool" + }, + { + "name" : "CMAKE_INSTALL_PREFIX", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Install path prefix, prepended onto install directories." + } + ], + "type" : "PATH", + "value" : "/usr/local" + }, + { + "name" : "CMAKE_LINKER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ld" + }, + { + "name" : "CMAKE_MAKE_PROGRAM", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/make" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_NM", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/nm" + }, + { + "name" : "CMAKE_NUMBER_OF_MAKEFILES", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "number of local generators" + } + ], + "type" : "INTERNAL", + "value" : "1" + }, + { + "name" : "CMAKE_OBJCOPY", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_OBJCOPY-NOTFOUND" + }, + { + "name" : "CMAKE_OBJDUMP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/objdump" + }, + { + "name" : "CMAKE_OSX_ARCHITECTURES", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Build architectures for OSX" + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_OSX_DEPLOYMENT_TARGET", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_OSX_SYSROOT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "The product will be built against the headers and libraries located inside the indicated SDK." + } + ], + "type" : "PATH", + "value" : "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk" + }, + { + "name" : "CMAKE_PLATFORM_INFO_INITIALIZED", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Platform information initialized" + } + ], + "type" : "INTERNAL", + "value" : "1" + }, + { + "name" : "CMAKE_PROJECT_DESCRIPTION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "" + }, + { + "name" : "CMAKE_PROJECT_HOMEPAGE_URL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "" + }, + { + "name" : "CMAKE_PROJECT_NAME", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "Tetris" + }, + { + "name" : "CMAKE_RANLIB", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/ranlib" + }, + { + "name" : "CMAKE_READELF", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_READELF-NOTFOUND" + }, + { + "name" : "CMAKE_ROOT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to CMake installation." + } + ], + "type" : "INTERNAL", + "value" : "/opt/homebrew/share/cmake" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SKIP_INSTALL_RPATH", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If set, runtime paths are not added when installing shared libraries, but are added when building." + } + ], + "type" : "BOOL", + "value" : "NO" + }, + { + "name" : "CMAKE_SKIP_RPATH", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If set, runtime paths are not added when using shared libraries." + } + ], + "type" : "BOOL", + "value" : "NO" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STRIP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/strip" + }, + { + "name" : "CMAKE_TAPI", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/Library/Developer/CommandLineTools/usr/bin/tapi" + }, + { + "name" : "CMAKE_UNAME", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "uname command" + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/uname" + }, + { + "name" : "CMAKE_VERBOSE_MAKEFILE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make. This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo." + } + ], + "type" : "BOOL", + "value" : "FALSE" + }, + { + "name" : "Tetris_BINARY_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/Users/nsrddyn/Documents/Tetris/build" + }, + { + "name" : "Tetris_IS_TOP_LEVEL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "ON" + }, + { + "name" : "Tetris_SOURCE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/Users/nsrddyn/Documents/Tetris" + } + ], + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } +} diff --git a/build/.cmake/api/v1/reply/cmakeFiles-v1-3a525e4c4157fb2e4420.json b/build/.cmake/api/v1/reply/cmakeFiles-v1-3a525e4c4157fb2e4420.json new file mode 100644 index 0000000..aa685b2 --- /dev/null +++ b/build/.cmake/api/v1/reply/cmakeFiles-v1-3a525e4c4157fb2e4420.json @@ -0,0 +1,221 @@ +{ + "inputs" : + [ + { + "path" : "CMakeLists.txt" + }, + { + "isGenerated" : true, + "path" : "build/CMakeFiles/3.31.4/CMakeSystem.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Darwin-Initialize.cmake" + }, + { + "isGenerated" : true, + "path" : "build/CMakeFiles/3.31.4/CMakeCCompiler.cmake" + }, + { + "isGenerated" : true, + "path" : "build/CMakeFiles/3.31.4/CMakeCXXCompiler.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeSystemSpecificInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeGenericSystem.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeInitializeConfigs.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Darwin.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/UnixPaths.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeCInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeLanguageInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Compiler/AppleClang-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Compiler/Clang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Compiler/GNU.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Apple-AppleClang-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Apple-Clang-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Apple-Clang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeCommonLanguageInclude.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Internal/CMakeCLinkerInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Internal/CMakeCommonLinkerInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Linker/AppleClang-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Linker/AppleClang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Linker/Apple-AppleClang-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Linker/Apple-AppleClang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeCXXInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeLanguageInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Compiler/AppleClang-CXX.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Compiler/Clang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Apple-AppleClang-CXX.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Apple-Clang-CXX.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Apple-Clang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/CMakeCommonLanguageInclude.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Internal/CMakeCXXLinkerInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Internal/CMakeCommonLinkerInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Linker/AppleClang-CXX.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Linker/AppleClang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Linker/Apple-AppleClang-CXX.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/opt/homebrew/share/cmake/Modules/Platform/Linker/Apple-AppleClang.cmake" + } + ], + "kind" : "cmakeFiles", + "paths" : + { + "build" : "/Users/nsrddyn/Documents/Tetris/build", + "source" : "/Users/nsrddyn/Documents/Tetris" + }, + "version" : + { + "major" : 1, + "minor" : 1 + } +} diff --git a/build/.cmake/api/v1/reply/codemodel-v2-a7186af1f44d40222aa1.json b/build/.cmake/api/v1/reply/codemodel-v2-a7186af1f44d40222aa1.json new file mode 100644 index 0000000..9fb634f --- /dev/null +++ b/build/.cmake/api/v1/reply/codemodel-v2-a7186af1f44d40222aa1.json @@ -0,0 +1,60 @@ +{ + "configurations" : + [ + { + "directories" : + [ + { + "build" : ".", + "jsonFile" : "directory-.-Debug-f5ebdc15457944623624.json", + "minimumCMakeVersion" : + { + "string" : "3.0" + }, + "projectIndex" : 0, + "source" : ".", + "targetIndexes" : + [ + 0 + ] + } + ], + "name" : "Debug", + "projects" : + [ + { + "directoryIndexes" : + [ + 0 + ], + "name" : "Tetris", + "targetIndexes" : + [ + 0 + ] + } + ], + "targets" : + [ + { + "directoryIndex" : 0, + "id" : "tetris::@6890427a1f51a3e7e1df", + "jsonFile" : "target-tetris-Debug-e6b29f1f3a0d873caaa7.json", + "name" : "tetris", + "projectIndex" : 0 + } + ] + } + ], + "kind" : "codemodel", + "paths" : + { + "build" : "/Users/nsrddyn/Documents/Tetris/build", + "source" : "/Users/nsrddyn/Documents/Tetris" + }, + "version" : + { + "major" : 2, + "minor" : 7 + } +} diff --git a/build/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json b/build/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json new file mode 100644 index 0000000..3a67af9 --- /dev/null +++ b/build/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json @@ -0,0 +1,14 @@ +{ + "backtraceGraph" : + { + "commands" : [], + "files" : [], + "nodes" : [] + }, + "installers" : [], + "paths" : + { + "build" : ".", + "source" : "." + } +} diff --git a/build/.cmake/api/v1/reply/index-2025-01-15T20-21-15-0563.json b/build/.cmake/api/v1/reply/index-2025-01-15T20-21-15-0563.json new file mode 100644 index 0000000..3c16d45 --- /dev/null +++ b/build/.cmake/api/v1/reply/index-2025-01-15T20-21-15-0563.json @@ -0,0 +1,132 @@ +{ + "cmake" : + { + "generator" : + { + "multiConfig" : false, + "name" : "Unix Makefiles" + }, + "paths" : + { + "cmake" : "/opt/homebrew/bin/cmake", + "cpack" : "/opt/homebrew/bin/cpack", + "ctest" : "/opt/homebrew/bin/ctest", + "root" : "/opt/homebrew/share/cmake" + }, + "version" : + { + "isDirty" : false, + "major" : 3, + "minor" : 31, + "patch" : 4, + "string" : "3.31.4", + "suffix" : "" + } + }, + "objects" : + [ + { + "jsonFile" : "codemodel-v2-a7186af1f44d40222aa1.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 7 + } + }, + { + "jsonFile" : "cache-v2-88b9b0feae305cd4003e.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + { + "jsonFile" : "cmakeFiles-v1-3a525e4c4157fb2e4420.json", + "kind" : "cmakeFiles", + "version" : + { + "major" : 1, + "minor" : 1 + } + }, + { + "jsonFile" : "toolchains-v1-5167762c03d67eec8350.json", + "kind" : "toolchains", + "version" : + { + "major" : 1, + "minor" : 0 + } + } + ], + "reply" : + { + "client-vscode" : + { + "query.json" : + { + "requests" : + [ + { + "kind" : "cache", + "version" : 2 + }, + { + "kind" : "codemodel", + "version" : 2 + }, + { + "kind" : "toolchains", + "version" : 1 + }, + { + "kind" : "cmakeFiles", + "version" : 1 + } + ], + "responses" : + [ + { + "jsonFile" : "cache-v2-88b9b0feae305cd4003e.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + { + "jsonFile" : "codemodel-v2-a7186af1f44d40222aa1.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 7 + } + }, + { + "jsonFile" : "toolchains-v1-5167762c03d67eec8350.json", + "kind" : "toolchains", + "version" : + { + "major" : 1, + "minor" : 0 + } + }, + { + "jsonFile" : "cmakeFiles-v1-3a525e4c4157fb2e4420.json", + "kind" : "cmakeFiles", + "version" : + { + "major" : 1, + "minor" : 1 + } + } + ] + } + } + } +} diff --git a/build/.cmake/api/v1/reply/target-tetris-Debug-e6b29f1f3a0d873caaa7.json b/build/.cmake/api/v1/reply/target-tetris-Debug-e6b29f1f3a0d873caaa7.json new file mode 100644 index 0000000..af81b5e --- /dev/null +++ b/build/.cmake/api/v1/reply/target-tetris-Debug-e6b29f1f3a0d873caaa7.json @@ -0,0 +1,133 @@ +{ + "artifacts" : + [ + { + "path" : "tetris" + } + ], + "backtrace" : 1, + "backtraceGraph" : + { + "commands" : + [ + "add_executable", + "link_directories", + "target_link_libraries", + "include_directories" + ], + "files" : + [ + "CMakeLists.txt" + ], + "nodes" : + [ + { + "file" : 0 + }, + { + "command" : 0, + "file" : 0, + "line" : 12, + "parent" : 0 + }, + { + "command" : 1, + "file" : 0, + "line" : 9, + "parent" : 0 + }, + { + "command" : 2, + "file" : 0, + "line" : 15, + "parent" : 0 + }, + { + "command" : 3, + "file" : 0, + "line" : 8, + "parent" : 0 + } + ] + }, + "compileGroups" : + [ + { + "compileCommandFragments" : + [ + { + "fragment" : "-g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk" + } + ], + "includes" : + [ + { + "backtrace" : 4, + "path" : "/opt/homebrew/Cellar/raylib/5.5/include" + } + ], + "language" : "C", + "sourceIndexes" : + [ + 0 + ] + } + ], + "id" : "tetris::@6890427a1f51a3e7e1df", + "link" : + { + "commandFragments" : + [ + { + "fragment" : "-g", + "role" : "flags" + }, + { + "fragment" : "", + "role" : "flags" + }, + { + "backtrace" : 2, + "fragment" : "-L/opt/homebrew/Cellar/raylib/5.5/lib", + "role" : "libraryPath" + }, + { + "fragment" : "-Wl,-rpath,/opt/homebrew/Cellar/raylib/5.5/lib", + "role" : "libraries" + }, + { + "backtrace" : 3, + "fragment" : "-lraylib", + "role" : "libraries" + } + ], + "language" : "C" + }, + "name" : "tetris", + "nameOnDisk" : "tetris", + "paths" : + { + "build" : ".", + "source" : "." + }, + "sourceGroups" : + [ + { + "name" : "Source Files", + "sourceIndexes" : + [ + 0 + ] + } + ], + "sources" : + [ + { + "backtrace" : 1, + "compileGroupIndex" : 0, + "path" : "TETRIS.c", + "sourceGroupIndex" : 0 + } + ], + "type" : "EXECUTABLE" +} diff --git a/build/.cmake/api/v1/reply/toolchains-v1-5167762c03d67eec8350.json b/build/.cmake/api/v1/reply/toolchains-v1-5167762c03d67eec8350.json new file mode 100644 index 0000000..f1058e3 --- /dev/null +++ b/build/.cmake/api/v1/reply/toolchains-v1-5167762c03d67eec8350.json @@ -0,0 +1,93 @@ +{ + "kind" : "toolchains", + "toolchains" : + [ + { + "compiler" : + { + "id" : "AppleClang", + "implicit" : + { + "includeDirectories" : + [ + "/Library/Developer/CommandLineTools/usr/lib/clang/16/include", + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include", + "/Library/Developer/CommandLineTools/usr/include" + ], + "linkDirectories" : + [ + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/lib", + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/lib/swift" + ], + "linkFrameworkDirectories" : + [ + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/System/Library/Frameworks" + ], + "linkLibraries" : [] + }, + "path" : "gcc", + "version" : "16.0.0.16000026" + }, + "language" : "C", + "sourceFileExtensions" : + [ + "c", + "m" + ] + }, + { + "compiler" : + { + "id" : "AppleClang", + "implicit" : + { + "includeDirectories" : + [ + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/c++/v1", + "/Library/Developer/CommandLineTools/usr/lib/clang/16/include", + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include", + "/Library/Developer/CommandLineTools/usr/include" + ], + "linkDirectories" : + [ + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/lib", + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/lib/swift" + ], + "linkFrameworkDirectories" : + [ + "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/System/Library/Frameworks" + ], + "linkLibraries" : + [ + "c++" + ] + }, + "path" : "/usr/bin/clang++", + "version" : "16.0.0.16000026" + }, + "language" : "CXX", + "sourceFileExtensions" : + [ + "C", + "M", + "c++", + "cc", + "cpp", + "cxx", + "mm", + "mpp", + "CPP", + "ixx", + "cppm", + "ccm", + "cxxm", + "c++m" + ] + } + ], + "version" : + { + "major" : 1, + "minor" : 0 + } +} diff --git a/build/CMakeCache.txt b/build/CMakeCache.txt index d0b8e8d..6ae84e8 100644 --- a/build/CMakeCache.txt +++ b/build/CMakeCache.txt @@ -18,17 +18,16 @@ CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND //Path to a program. -CMAKE_AR:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ar +CMAKE_AR:FILEPATH=/usr/bin/ar -//Choose the type of build, options are: None Debug Release RelWithDebInfo -// MinSizeRel ... -CMAKE_BUILD_TYPE:STRING= +//No help, variable specified on the command line. +CMAKE_BUILD_TYPE:STRING=Debug //Enable/Disable color output during build. CMAKE_COLOR_MAKEFILE:BOOL=ON -//CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/c++ +//No help, variable specified on the command line. +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ //Flags used by the CXX compiler during all build types. CMAKE_CXX_FLAGS:STRING= @@ -45,8 +44,8 @@ CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG //Flags used by the CXX compiler during RELWITHDEBINFO builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG -//C compiler -CMAKE_C_COMPILER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/cc +//No help, variable specified on the command line. +CMAKE_C_COMPILER:FILEPATH=/usr/bin/clang //Flags used by the C compiler during all build types. CMAKE_C_FLAGS:STRING= @@ -82,7 +81,7 @@ CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= //No help, variable specified on the command line. -CMAKE_EXPORT_COMPILE_COMMANDS:UNINITIALIZED=1 +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE //Value Computed by CMake. CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/pkgRedirects @@ -94,7 +93,7 @@ CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool CMAKE_INSTALL_PREFIX:PATH=/usr/local //Path to a program. -CMAKE_LINKER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ld +CMAKE_LINKER:FILEPATH=/usr/bin/ld //Path to a program. CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make @@ -120,13 +119,13 @@ CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= //Path to a program. -CMAKE_NM:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/nm +CMAKE_NM:FILEPATH=/usr/bin/nm //Path to a program. CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND //Path to a program. -CMAKE_OBJDUMP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/objdump +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump //Build architectures for OSX CMAKE_OSX_ARCHITECTURES:STRING= @@ -149,7 +148,7 @@ CMAKE_PROJECT_HOMEPAGE_URL:STATIC= CMAKE_PROJECT_NAME:STATIC=Tetris //Path to a program. -CMAKE_RANLIB:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ranlib +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib //Path to a program. CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND @@ -202,7 +201,7 @@ CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= //Path to a program. -CMAKE_STRIP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/strip +CMAKE_STRIP:FILEPATH=/usr/bin/strip //Path to a program. CMAKE_TAPI:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/tapi @@ -238,7 +237,7 @@ CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=31 //Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 +CMAKE_CACHE_PATCH_VERSION:INTERNAL=4 //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 //Path to CMake executable. diff --git a/build/CMakeFiles/3.31.3/CompilerIdC/CMakeCCompilerId.o b/build/CMakeFiles/3.31.3/CompilerIdC/CMakeCCompilerId.o Binary files differdeleted file mode 100644 index 21c6d9f..0000000 --- a/build/CMakeFiles/3.31.3/CompilerIdC/CMakeCCompilerId.o +++ /dev/null diff --git a/build/CMakeFiles/3.31.3/CompilerIdCXX/CMakeCXXCompilerId.o b/build/CMakeFiles/3.31.3/CompilerIdCXX/CMakeCXXCompilerId.o Binary files differdeleted file mode 100644 index e959c6c..0000000 --- a/build/CMakeFiles/3.31.3/CompilerIdCXX/CMakeCXXCompilerId.o +++ /dev/null diff --git a/build/CMakeFiles/3.31.3/CMakeCCompiler.cmake b/build/CMakeFiles/3.31.4/CMakeCCompiler.cmake index 4c122f9..36b87f7 100644 --- a/build/CMakeFiles/3.31.3/CMakeCCompiler.cmake +++ b/build/CMakeFiles/3.31.4/CMakeCCompiler.cmake @@ -1,4 +1,4 @@ -set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc") +set(CMAKE_C_COMPILER "/usr/bin/clang") set(CMAKE_C_COMPILER_ARG1 "") set(CMAKE_C_COMPILER_ID "AppleClang") set(CMAKE_C_COMPILER_VERSION "16.0.0.16000026") @@ -22,11 +22,11 @@ set(CMAKE_C_SIMULATE_VERSION "") -set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar") +set(CMAKE_AR "/usr/bin/ar") set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib") +set(CMAKE_RANLIB "/usr/bin/ranlib") set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") +set(CMAKE_LINKER "/usr/bin/ld") set(CMAKE_LINKER_LINK "") set(CMAKE_LINKER_LLD "") set(CMAKE_C_COMPILER_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") diff --git a/build/CMakeFiles/3.31.3/CMakeCXXCompiler.cmake b/build/CMakeFiles/3.31.4/CMakeCXXCompiler.cmake index 47f6bd4..c500c92 100644 --- a/build/CMakeFiles/3.31.3/CMakeCXXCompiler.cmake +++ b/build/CMakeFiles/3.31.4/CMakeCXXCompiler.cmake @@ -1,4 +1,4 @@ -set(CMAKE_CXX_COMPILER "/Library/Developer/CommandLineTools/usr/bin/c++") +set(CMAKE_CXX_COMPILER "/usr/bin/clang++") set(CMAKE_CXX_COMPILER_ARG1 "") set(CMAKE_CXX_COMPILER_ID "AppleClang") set(CMAKE_CXX_COMPILER_VERSION "16.0.0.16000026") @@ -24,11 +24,11 @@ set(CMAKE_CXX_SIMULATE_VERSION "") -set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar") +set(CMAKE_AR "/usr/bin/ar") set(CMAKE_CXX_COMPILER_AR "") -set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib") +set(CMAKE_RANLIB "/usr/bin/ranlib") set(CMAKE_CXX_COMPILER_RANLIB "") -set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") +set(CMAKE_LINKER "/usr/bin/ld") set(CMAKE_LINKER_LINK "") set(CMAKE_LINKER_LLD "") set(CMAKE_CXX_COMPILER_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") diff --git a/build/CMakeFiles/3.31.3/CMakeDetermineCompilerABI_C.bin b/build/CMakeFiles/3.31.4/CMakeDetermineCompilerABI_C.bin Binary files differindex 212f60a..e27af9c 100755 --- a/build/CMakeFiles/3.31.3/CMakeDetermineCompilerABI_C.bin +++ b/build/CMakeFiles/3.31.4/CMakeDetermineCompilerABI_C.bin diff --git a/build/CMakeFiles/3.31.3/CMakeDetermineCompilerABI_CXX.bin b/build/CMakeFiles/3.31.4/CMakeDetermineCompilerABI_CXX.bin Binary files differindex 45d19ff..8d8dc93 100755 --- a/build/CMakeFiles/3.31.3/CMakeDetermineCompilerABI_CXX.bin +++ b/build/CMakeFiles/3.31.4/CMakeDetermineCompilerABI_CXX.bin diff --git a/build/CMakeFiles/3.31.3/CMakeSystem.cmake b/build/CMakeFiles/3.31.4/CMakeSystem.cmake index 0c52e24..0c52e24 100644 --- a/build/CMakeFiles/3.31.3/CMakeSystem.cmake +++ b/build/CMakeFiles/3.31.4/CMakeSystem.cmake diff --git a/build/CMakeFiles/3.31.3/CompilerIdC/CMakeCCompilerId.c b/build/CMakeFiles/3.31.4/CompilerIdC/CMakeCCompilerId.c index 8d8bb03..8d8bb03 100644 --- a/build/CMakeFiles/3.31.3/CompilerIdC/CMakeCCompilerId.c +++ b/build/CMakeFiles/3.31.4/CompilerIdC/CMakeCCompilerId.c diff --git a/game b/build/CMakeFiles/3.31.4/CompilerIdC/a.out Binary files differindex 600edcf..22cbb30 100755 --- a/game +++ b/build/CMakeFiles/3.31.4/CompilerIdC/a.out diff --git a/build/CMakeFiles/3.31.3/CompilerIdCXX/CMakeCXXCompilerId.cpp b/build/CMakeFiles/3.31.4/CompilerIdCXX/CMakeCXXCompilerId.cpp index da6c824..da6c824 100644 --- a/build/CMakeFiles/3.31.3/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ b/build/CMakeFiles/3.31.4/CompilerIdCXX/CMakeCXXCompilerId.cpp diff --git a/build/CMakeFiles/3.31.4/CompilerIdCXX/a.out b/build/CMakeFiles/3.31.4/CompilerIdCXX/a.out Binary files differnew file mode 100755 index 0000000..cc1d504 --- /dev/null +++ b/build/CMakeFiles/3.31.4/CompilerIdCXX/a.out diff --git a/build/CMakeFiles/CMakeConfigureLog.yaml b/build/CMakeFiles/CMakeConfigureLog.yaml index e8cfaba..1296c55 100644 --- a/build/CMakeFiles/CMakeConfigureLog.yaml +++ b/build/CMakeFiles/CMakeConfigureLog.yaml @@ -16,57 +16,19 @@ events: - "/opt/homebrew/share/cmake/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - "CMakeLists.txt:2 (project)" message: | - Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. - Compiler: /Library/Developer/CommandLineTools/usr/bin/cc - Build flags: - Id flags: - - The output was: - 1 - ld: library 'System' not found - cc: error: linker command failed with exit code 1 (use -v to see invocation) - - - - - kind: "message-v1" - backtrace: - - "/opt/homebrew/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "/opt/homebrew/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "/opt/homebrew/share/cmake/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:2 (project)" - message: | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: /Library/Developer/CommandLineTools/usr/bin/cc + Compiler: /usr/bin/clang Build flags: - Id flags: -c + Id flags: The output was: 0 - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o" + Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is AppleClang, found in: - /Users/nsrddyn/Documents/Tetris/build/CMakeFiles/3.31.3/CompilerIdC/CMakeCCompilerId.o - - - - kind: "message-v1" - backtrace: - - "/opt/homebrew/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "/opt/homebrew/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "/opt/homebrew/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:2 (project)" - message: | - Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. - Compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - Build flags: - Id flags: - - The output was: - 1 - ld: library 'c++' not found - c++: error: linker command failed with exit code 1 (use -v to see invocation) - + /Users/nsrddyn/Documents/Tetris/build/CMakeFiles/3.31.4/CompilerIdC/a.out - kind: "message-v1" @@ -77,18 +39,18 @@ events: - "CMakeLists.txt:2 (project)" message: | Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. - Compiler: /Library/Developer/CommandLineTools/usr/bin/c++ + Compiler: /usr/bin/clang++ Build flags: - Id flags: -c + Id flags: The output was: 0 - Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o" + Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is AppleClang, found in: - /Users/nsrddyn/Documents/Tetris/build/CMakeFiles/3.31.3/CompilerIdCXX/CMakeCXXCompilerId.o + /Users/nsrddyn/Documents/Tetris/build/CMakeFiles/3.31.4/CompilerIdCXX/a.out - kind: "try_compile-v1" @@ -99,8 +61,8 @@ events: checks: - "Detecting C compiler ABI info" directories: - source: "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-sAJSct" - binary: "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-sAJSct" + source: "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-pu58j3" + binary: "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-pu58j3" cmakeVariables: CMAKE_C_FLAGS: "" CMAKE_OSX_ARCHITECTURES: "" @@ -110,18 +72,18 @@ events: variable: "CMAKE_C_ABI_COMPILED" cached: true stdout: | - Change Dir: '/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-sAJSct' + Change Dir: '/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-pu58j3' - Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_8c36b/fast - /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_8c36b.dir/build.make CMakeFiles/cmTC_8c36b.dir/build - Building C object CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o - /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -v -Wl,-v -MD -MT CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -c /opt/homebrew/share/cmake/Modules/CMakeCCompilerABI.c + Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_87c8e/fast + /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_87c8e.dir/build.make CMakeFiles/cmTC_87c8e.dir/build + Building C object CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o + /usr/bin/clang -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -v -Wl,-v -MD -MT CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -c /opt/homebrew/share/cmake/Modules/CMakeCCompilerABI.c Apple clang version 16.0.0 (clang-1600.0.26.6) Target: arm64-apple-darwin24.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin - cc: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument] - "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx15.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.2 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-sAJSct -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -dependency-file CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-sAJSct -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -x c /opt/homebrew/share/cmake/Modules/CMakeCCompilerABI.c + clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument] + "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx15.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.2 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-pu58j3 -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -dependency-file CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-pu58j3 -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -x c /opt/homebrew/share/cmake/Modules/CMakeCCompilerABI.c clang -cc1 version 16.0.0 (clang-1600.0.26.6) default target arm64-apple-darwin24.3.0 ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include" ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/Library/Frameworks" @@ -132,13 +94,13 @@ events: /Library/Developer/CommandLineTools/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/System/Library/Frameworks (framework directory) End of search list. - Linking C executable cmTC_8c36b - /opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c36b.dir/link.txt --verbose=1 + Linking C executable cmTC_87c8e + /opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/cmTC_87c8e.dir/link.txt --verbose=1 Apple clang version 16.0.0 (clang-1600.0.26.6) Target: arm64-apple-darwin24.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin - "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 15.0.0 15.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mllvm -enable-linkonceodr-outlining -o cmTC_8c36b -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a + "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 15.0.0 15.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mllvm -enable-linkonceodr-outlining -o cmTC_87c8e -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a @(#)PROGRAM:ld PROJECT:ld-1115.7.3 BUILD 23:52:02 Dec 5 2024 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em @@ -150,7 +112,7 @@ events: /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/lib/swift Framework search paths: /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/System/Library/Frameworks - /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -o cmTC_8c36b + /usr/bin/clang -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -o cmTC_87c8e exitCode: 0 - @@ -192,18 +154,18 @@ events: Parsed C implicit link information: link line regex: [^( *|.*[/\\])(ld[0-9]*(\\.[a-z]+)?|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)] linker tool regex: [^[ ]*(->|")?[ ]*(([^"]*[/\\])?(ld[0-9]*(\\.[a-z]+)?))("|,| |$)] - ignore line: [Change Dir: '/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-sAJSct'] + ignore line: [Change Dir: '/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-pu58j3'] ignore line: [] - ignore line: [Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_8c36b/fast] - ignore line: [/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_8c36b.dir/build.make CMakeFiles/cmTC_8c36b.dir/build] - ignore line: [Building C object CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o] - ignore line: [/Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -v -Wl -v -MD -MT CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -c /opt/homebrew/share/cmake/Modules/CMakeCCompilerABI.c] + ignore line: [Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_87c8e/fast] + ignore line: [/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_87c8e.dir/build.make CMakeFiles/cmTC_87c8e.dir/build] + ignore line: [Building C object CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/clang -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -v -Wl -v -MD -MT CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -c /opt/homebrew/share/cmake/Modules/CMakeCCompilerABI.c] ignore line: [Apple clang version 16.0.0 (clang-1600.0.26.6)] ignore line: [Target: arm64-apple-darwin24.3.0] ignore line: [Thread model: posix] ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin] - ignore line: [cc: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]] - ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx15.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.2 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-sAJSct -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -dependency-file CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-sAJSct -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -x c /opt/homebrew/share/cmake/Modules/CMakeCCompilerABI.c] + ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]] + ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx15.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.2 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-pu58j3 -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -dependency-file CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-pu58j3 -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -x c /opt/homebrew/share/cmake/Modules/CMakeCCompilerABI.c] ignore line: [clang -cc1 version 16.0.0 (clang-1600.0.26.6) default target arm64-apple-darwin24.3.0] ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include"] ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/Library/Frameworks"] @@ -214,13 +176,13 @@ events: ignore line: [ /Library/Developer/CommandLineTools/usr/include] ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/System/Library/Frameworks (framework directory)] ignore line: [End of search list.] - ignore line: [Linking C executable cmTC_8c36b] - ignore line: [/opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c36b.dir/link.txt --verbose=1] + ignore line: [Linking C executable cmTC_87c8e] + ignore line: [/opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/cmTC_87c8e.dir/link.txt --verbose=1] ignore line: [Apple clang version 16.0.0 (clang-1600.0.26.6)] ignore line: [Target: arm64-apple-darwin24.3.0] ignore line: [Thread model: posix] ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin] - link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 15.0.0 15.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mllvm -enable-linkonceodr-outlining -o cmTC_8c36b -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a] + link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 15.0.0 15.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mllvm -enable-linkonceodr-outlining -o cmTC_87c8e -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a] arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore arg [-demangle] ==> ignore arg [-lto_library] ==> ignore, skip following value @@ -237,11 +199,11 @@ events: arg [-mllvm] ==> ignore arg [-enable-linkonceodr-outlining] ==> ignore arg [-o] ==> ignore - arg [cmTC_8c36b] ==> ignore + arg [cmTC_87c8e] ==> ignore arg [-search_paths_first] ==> ignore arg [-headerpad_max_install_names] ==> ignore arg [-v] ==> ignore - arg [CMakeFiles/cmTC_8c36b.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [CMakeFiles/cmTC_87c8e.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lSystem] ==> lib [System] arg [/Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a] linker tool for 'C': /Library/Developer/CommandLineTools/usr/bin/ld @@ -282,8 +244,8 @@ events: checks: - "Detecting CXX compiler ABI info" directories: - source: "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-1F7Af4" - binary: "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-1F7Af4" + source: "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-YT5opL" + binary: "/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-YT5opL" cmakeVariables: CMAKE_CXX_FLAGS: "" CMAKE_CXX_SCAN_FOR_MODULES: "OFF" @@ -294,19 +256,19 @@ events: variable: "CMAKE_CXX_ABI_COMPILED" cached: true stdout: | - Change Dir: '/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-1F7Af4' + Change Dir: '/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-YT5opL' - Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_18281/fast - /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_18281.dir/build.make CMakeFiles/cmTC_18281.dir/build - Building CXX object CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o - /Library/Developer/CommandLineTools/usr/bin/c++ -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -v -Wl,-v -MD -MT CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -c /opt/homebrew/share/cmake/Modules/CMakeCXXCompilerABI.cpp + Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_91daf/fast + /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_91daf.dir/build.make CMakeFiles/cmTC_91daf.dir/build + Building CXX object CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o + /usr/bin/clang++ -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -v -Wl,-v -MD -MT CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -c /opt/homebrew/share/cmake/Modules/CMakeCXXCompilerABI.cpp Apple clang version 16.0.0 (clang-1600.0.26.6) Target: arm64-apple-darwin24.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin - c++: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument] + clang++: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument] ignoring nonexistent directory "/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1" - "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx15.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.2 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-1F7Af4 -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -dependency-file CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/c++/v1 -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdeprecated-macro -fdebug-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-1F7Af4 -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fno-cxx-modules -fcxx-exceptions -fexceptions -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -x c++ /opt/homebrew/share/cmake/Modules/CMakeCXXCompilerABI.cpp + "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx15.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.2 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-YT5opL -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -dependency-file CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/c++/v1 -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdeprecated-macro -fdebug-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-YT5opL -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fno-cxx-modules -fcxx-exceptions -fexceptions -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -x c++ /opt/homebrew/share/cmake/Modules/CMakeCXXCompilerABI.cpp clang -cc1 version 16.0.0 (clang-1600.0.26.6) default target arm64-apple-darwin24.3.0 ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include" ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/Library/Frameworks" @@ -318,13 +280,13 @@ events: /Library/Developer/CommandLineTools/usr/include /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/System/Library/Frameworks (framework directory) End of search list. - Linking CXX executable cmTC_18281 - /opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/cmTC_18281.dir/link.txt --verbose=1 + Linking CXX executable cmTC_91daf + /opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/cmTC_91daf.dir/link.txt --verbose=1 Apple clang version 16.0.0 (clang-1600.0.26.6) Target: arm64-apple-darwin24.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin - "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 15.0.0 15.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mllvm -enable-linkonceodr-outlining -o cmTC_18281 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a + "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 15.0.0 15.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mllvm -enable-linkonceodr-outlining -o cmTC_91daf -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a @(#)PROGRAM:ld PROJECT:ld-1115.7.3 BUILD 23:52:02 Dec 5 2024 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em @@ -336,7 +298,7 @@ events: /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/lib/swift Framework search paths: /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/System/Library/Frameworks - /Library/Developer/CommandLineTools/usr/bin/c++ -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_18281 + /usr/bin/clang++ -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_91daf exitCode: 0 - @@ -380,19 +342,19 @@ events: Parsed CXX implicit link information: link line regex: [^( *|.*[/\\])(ld[0-9]*(\\.[a-z]+)?|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)] linker tool regex: [^[ ]*(->|")?[ ]*(([^"]*[/\\])?(ld[0-9]*(\\.[a-z]+)?))("|,| |$)] - ignore line: [Change Dir: '/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-1F7Af4'] + ignore line: [Change Dir: '/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-YT5opL'] ignore line: [] - ignore line: [Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_18281/fast] - ignore line: [/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_18281.dir/build.make CMakeFiles/cmTC_18281.dir/build] - ignore line: [Building CXX object CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o] - ignore line: [/Library/Developer/CommandLineTools/usr/bin/c++ -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -v -Wl -v -MD -MT CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -c /opt/homebrew/share/cmake/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_91daf/fast] + ignore line: [/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_91daf.dir/build.make CMakeFiles/cmTC_91daf.dir/build] + ignore line: [Building CXX object CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/clang++ -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -v -Wl -v -MD -MT CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -c /opt/homebrew/share/cmake/Modules/CMakeCXXCompilerABI.cpp] ignore line: [Apple clang version 16.0.0 (clang-1600.0.26.6)] ignore line: [Target: arm64-apple-darwin24.3.0] ignore line: [Thread model: posix] ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin] - ignore line: [c++: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]] + ignore line: [clang++: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]] ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1"] - ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx15.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.2 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-1F7Af4 -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -dependency-file CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/c++/v1 -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdeprecated-macro -fdebug-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-1F7Af4 -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fno-cxx-modules -fcxx-exceptions -fexceptions -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -x c++ /opt/homebrew/share/cmake/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx15.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=15.2 -fvisibility-inlines-hidden-static-local-var -fno-modulemap-allow-subdirectory-search -target-cpu apple-m1 -target-feature +v8.5a -target-feature +aes -target-feature +crc -target-feature +dotprod -target-feature +fp-armv8 -target-feature +fp16fml -target-feature +lse -target-feature +ras -target-feature +rcpc -target-feature +rdm -target-feature +sha2 -target-feature +sha3 -target-feature +neon -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-abi darwinpcs -debugger-tuning=lldb -target-linker-version 1115.7.3 -v -fcoverage-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-YT5opL -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/16 -dependency-file CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/c++/v1 -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/16/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdeprecated-macro -fdebug-compilation-dir=/Users/nsrddyn/Documents/Tetris/build/CMakeFiles/CMakeScratch/TryCompile-YT5opL -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fno-cxx-modules -fcxx-exceptions -fexceptions -fmax-type-align=16 -fcommon -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -clang-vendor-feature=+disableAtImportPrivateFrameworkInImplementationError -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -x c++ /opt/homebrew/share/cmake/Modules/CMakeCXXCompilerABI.cpp] ignore line: [clang -cc1 version 16.0.0 (clang-1600.0.26.6) default target arm64-apple-darwin24.3.0] ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/local/include"] ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/Library/Frameworks"] @@ -404,13 +366,13 @@ events: ignore line: [ /Library/Developer/CommandLineTools/usr/include] ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/System/Library/Frameworks (framework directory)] ignore line: [End of search list.] - ignore line: [Linking CXX executable cmTC_18281] - ignore line: [/opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/cmTC_18281.dir/link.txt --verbose=1] + ignore line: [Linking CXX executable cmTC_91daf] + ignore line: [/opt/homebrew/bin/cmake -E cmake_link_script CMakeFiles/cmTC_91daf.dir/link.txt --verbose=1] ignore line: [Apple clang version 16.0.0 (clang-1600.0.26.6)] ignore line: [Target: arm64-apple-darwin24.3.0] ignore line: [Thread model: posix] ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin] - link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 15.0.0 15.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mllvm -enable-linkonceodr-outlining -o cmTC_18281 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a] + link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 15.0.0 15.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mllvm -enable-linkonceodr-outlining -o cmTC_91daf -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a] arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore arg [-demangle] ==> ignore arg [-lto_library] ==> ignore, skip following value @@ -427,11 +389,11 @@ events: arg [-mllvm] ==> ignore arg [-enable-linkonceodr-outlining] ==> ignore arg [-o] ==> ignore - arg [cmTC_18281] ==> ignore + arg [cmTC_91daf] ==> ignore arg [-search_paths_first] ==> ignore arg [-headerpad_max_install_names] ==> ignore arg [-v] ==> ignore - arg [CMakeFiles/cmTC_18281.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [CMakeFiles/cmTC_91daf.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lc++] ==> lib [c++] arg [-lSystem] ==> lib [System] arg [/Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/16/lib/darwin/libclang_rt.osx.a] diff --git a/build/CMakeFiles/Makefile.cmake b/build/CMakeFiles/Makefile.cmake index 86bc155..0012c6b 100644 --- a/build/CMakeFiles/Makefile.cmake +++ b/build/CMakeFiles/Makefile.cmake @@ -8,9 +8,9 @@ set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") set(CMAKE_MAKEFILE_DEPENDS "CMakeCache.txt" "/Users/nsrddyn/Documents/Tetris/CMakeLists.txt" - "CMakeFiles/3.31.3/CMakeCCompiler.cmake" - "CMakeFiles/3.31.3/CMakeCXXCompiler.cmake" - "CMakeFiles/3.31.3/CMakeSystem.cmake" + "CMakeFiles/3.31.4/CMakeCCompiler.cmake" + "CMakeFiles/3.31.4/CMakeCXXCompiler.cmake" + "CMakeFiles/3.31.4/CMakeSystem.cmake" "/opt/homebrew/share/cmake/Modules/CMakeCInformation.cmake" "/opt/homebrew/share/cmake/Modules/CMakeCXXInformation.cmake" "/opt/homebrew/share/cmake/Modules/CMakeCommonLanguageInclude.cmake" diff --git a/build/CMakeFiles/tetris.dir/TETRIS.c.o b/build/CMakeFiles/tetris.dir/TETRIS.c.o Binary files differdeleted file mode 100644 index 52a374d..0000000 --- a/build/CMakeFiles/tetris.dir/TETRIS.c.o +++ /dev/null diff --git a/build/CMakeFiles/tetris.dir/TETRIS.c.o.d b/build/CMakeFiles/tetris.dir/TETRIS.c.o.d deleted file mode 100644 index 16c5924..0000000 --- a/build/CMakeFiles/tetris.dir/TETRIS.c.o.d +++ /dev/null @@ -1,99 +0,0 @@ -CMakeFiles/tetris.dir/TETRIS.c.o: \ - /Users/nsrddyn/Documents/Tetris/TETRIS.c \ - /opt/homebrew/Cellar/raylib/5.5/include/raylib.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/stdarg.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/__stdarg_header_macro.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/__stdarg___gnuc_va_list.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/__stdarg_va_list.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/__stdarg_va_arg.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/__stdarg___va_copy.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/__stdarg_va_copy.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/stdbool.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/stdlib.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_stdlib.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/Availability.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/AvailabilityVersions.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/AvailabilityInternal.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/AvailabilityInternalLegacy.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/cdefs.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_symbol_aliasing.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_posix_availability.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_types.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/machine/_types.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/arm/_types.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_pthread/_pthread_types.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_pid_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_id_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/signal.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/appleapiopts.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/machine/signal.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/arm/signal.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/machine/_mcontext.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/arm/_mcontext.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/mach/machine/_structs.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/mach/arm/_structs.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/machine/types.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/arm/types.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_int8_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_int16_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_int32_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_int64_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_u_int8_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_u_int16_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_u_int32_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_u_int64_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_intptr_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_uintptr_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_sigaltstack.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_ucontext.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_sigset_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_size_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_uid_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/resource.h \ - /Library/Developer/CommandLineTools/usr/lib/clang/16/include/stdint.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/stdint.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_types/_uint8_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_types/_uint16_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_types/_uint32_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_types/_uint64_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_types/_intmax_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_types/_uintmax_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_timeval.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/machine/endian.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/arm/endian.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_endian.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/machine/_endian.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/arm/_endian.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/__endian.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/libkern/_OSByteOrder.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/libkern/arm/_OSByteOrder.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/alloca.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_ct_rune_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_rune_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_wchar_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_null.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/malloc/_malloc.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/malloc/_malloc_type.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/malloc/_ptrcheck.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_abort.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_dev_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_mode_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/stdio.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_stdio.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_va_list.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/stdio.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_printf.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_seek_set.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_ctermid.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_off_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_ssize_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/secure/_stdio.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/secure/_common.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/time.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/_time.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_clock_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_time_t.h \ - /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/sys/_types/_timespec.h diff --git a/build/CMakeFiles/tetris.dir/flags.make b/build/CMakeFiles/tetris.dir/flags.make index 18b9e7a..7eb5369 100644 --- a/build/CMakeFiles/tetris.dir/flags.make +++ b/build/CMakeFiles/tetris.dir/flags.make @@ -6,7 +6,7 @@ C_DEFINES = C_INCLUDES = -I/opt/homebrew/Cellar/raylib/5.5/include -C_FLAGSarm64 = -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk +C_FLAGSarm64 = -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -C_FLAGS = -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk +C_FLAGS = -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk diff --git a/build/CMakeFiles/tetris.dir/link.txt b/build/CMakeFiles/tetris.dir/link.txt index cbb7d61..af1dfdf 100644 --- a/build/CMakeFiles/tetris.dir/link.txt +++ b/build/CMakeFiles/tetris.dir/link.txt @@ -1 +1 @@ -gcc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/tetris.dir/TETRIS.c.o -o tetris -L/opt/homebrew/Cellar/raylib/5.5/lib -Wl,-rpath,/opt/homebrew/Cellar/raylib/5.5/lib -lraylib +gcc -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/tetris.dir/TETRIS.c.o -o tetris -L/opt/homebrew/Cellar/raylib/5.5/lib -Wl,-rpath,/opt/homebrew/Cellar/raylib/5.5/lib -lraylib diff --git a/build/cmake_install.cmake b/build/cmake_install.cmake index 873b61d..fd5bb62 100644 --- a/build/cmake_install.cmake +++ b/build/cmake_install.cmake @@ -12,7 +12,7 @@ if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") else() - set(CMAKE_INSTALL_CONFIG_NAME "") + set(CMAKE_INSTALL_CONFIG_NAME "Debug") endif() message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") endif() @@ -34,7 +34,7 @@ endif() # Set path to fallback-tool for dependency-resolution. if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/Library/Developer/CommandLineTools/usr/bin/objdump") + set(CMAKE_OBJDUMP "/usr/bin/objdump") endif() string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT diff --git a/build/compile_commands.json b/build/compile_commands.json index 2761794..9b2a58e 100644 --- a/build/compile_commands.json +++ b/build/compile_commands.json @@ -1,7 +1,7 @@ [ { "directory": "/Users/nsrddyn/Documents/Tetris/build", - "command": "gcc -I/opt/homebrew/Cellar/raylib/5.5/include -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -o CMakeFiles/tetris.dir/TETRIS.c.o -c /Users/nsrddyn/Documents/Tetris/TETRIS.c", + "command": "gcc -I/opt/homebrew/Cellar/raylib/5.5/include -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -o CMakeFiles/tetris.dir/TETRIS.c.o -c /Users/nsrddyn/Documents/Tetris/TETRIS.c", "file": "/Users/nsrddyn/Documents/Tetris/TETRIS.c", "output": "CMakeFiles/tetris.dir/TETRIS.c.o" } diff --git a/space_game.c b/space_game.c new file mode 100644 index 0000000..bbe51cd --- /dev/null +++ b/space_game.c @@ -0,0 +1,21 @@ +#include <raylib.h> + +#define SCREEN_WIDTH 800 +#define SCREEN_HEIGHT 600 + +int main() +{ + InitWindow(SCREEN_WIDTH, SCREEN_HEIGHT, "SPACE INVADERS"); + SetTargetFPS(60); + + while(!WindowShouldClose()) + { + BeginDrawing(); + ClearBackground(BLACK); + + EndDrawing(); + } + + CloseWindow(); + return 0; +} Binary files differ |
