mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 07:11:34 +00:00
ui transformation (WIP)
This commit is contained in:
parent
c0b46ffd51
commit
bd8643e762
83 changed files with 32748 additions and 42165 deletions
6
CMakeLists.txt
Normal file
6
CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.12)
|
||||
project(rpgxEF LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
add_subdirectory(code)
|
9
code/CMakeLists.txt
Normal file
9
code/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(base_game)
|
||||
add_subdirectory(game)
|
||||
add_subdirectory(ui)
|
||||
|
2
code/base_game/.idea/base_game.iml
Normal file
2
code/base_game/.idea/base_game.iml
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module classpath="CMake" type="CPP_MODULE" version="4" />
|
29
code/base_game/.idea/codeStyles/Project.xml
Normal file
29
code/base_game/.idea/codeStyles/Project.xml
Normal file
|
@ -0,0 +1,29 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<Objective-C-extensions>
|
||||
<file>
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
|
||||
</file>
|
||||
<class>
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
|
||||
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
|
||||
</class>
|
||||
<extensions>
|
||||
<pair source="cpp" header="h" fileNamingConvention="NONE" />
|
||||
<pair source="c" header="h" fileNamingConvention="NONE" />
|
||||
</extensions>
|
||||
</Objective-C-extensions>
|
||||
</code_scheme>
|
||||
</component>
|
7
code/base_game/.idea/misc.xml
Normal file
7
code/base_game/.idea/misc.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
|
||||
<component name="JavaScriptSettings">
|
||||
<option name="languageLevel" value="ES6" />
|
||||
</component>
|
||||
</project>
|
8
code/base_game/.idea/modules.xml
Normal file
8
code/base_game/.idea/modules.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/base_game.iml" filepath="$PROJECT_DIR$/.idea/base_game.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
6
code/base_game/.idea/vcs.xml
Normal file
6
code/base_game/.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
188
code/base_game/.idea/workspace.xml
Normal file
188
code/base_game/.idea/workspace.xml
Normal file
|
@ -0,0 +1,188 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CMakeRunConfigurationManager" shouldGenerate="true" shouldDeleteObsolete="true" buildAllGenerated="true">
|
||||
<generated>
|
||||
<config projectName="base_game" targetName="base_game" />
|
||||
</generated>
|
||||
</component>
|
||||
<component name="CMakeSettings" AUTO_RELOAD="true">
|
||||
<configurations>
|
||||
<configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" />
|
||||
</configurations>
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="96019182-6838-49a3-a2d2-da9a5acdd3dd" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/bg_lib.cpp" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/bg_lib.h" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../game/ai_chat.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/../game/ai_chat.cpp" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../game/ai_main.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/../game/ai_main.cpp" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../game/ai_main.h" beforeDir="false" afterPath="$PROJECT_DIR$/../game/ai_main.h" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../game/g_syscalls.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/../game/g_syscalls.cpp" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../game/g_syscalls.h" beforeDir="false" afterPath="$PROJECT_DIR$/../game/g_syscalls.h" afterDir="false" />
|
||||
</list>
|
||||
<ignored path="$PROJECT_DIR$/cmake-build-debug/" />
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="ExecutionTargetManager" SELECTED_TARGET="CMakeBuildProfile:Debug" />
|
||||
<component name="FUSProjectUsageTrigger">
|
||||
<session id="512378202">
|
||||
<usages-collector id="statistics.lifecycle.project">
|
||||
<counts>
|
||||
<entry key="project.closed" value="1" />
|
||||
<entry key="project.open.time.0" value="1" />
|
||||
<entry key="project.opened" value="1" />
|
||||
</counts>
|
||||
</usages-collector>
|
||||
<usages-collector id="statistics.file.extensions.edit">
|
||||
<counts>
|
||||
<entry key="txt" value="174" />
|
||||
</counts>
|
||||
</usages-collector>
|
||||
<usages-collector id="statistics.file.types.edit">
|
||||
<counts>
|
||||
<entry key="CMakeLists.txt" value="174" />
|
||||
</counts>
|
||||
</usages-collector>
|
||||
</session>
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/CMakeLists.txt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="425">
|
||||
<caret line="25" column="46" selection-start-line="25" selection-start-column="46" selection-end-line="25" selection-end-column="46" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../.." />
|
||||
</component>
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="CHANGED_PATHS">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/CMakeLists.txt" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||
<component name="JsGulpfileManager">
|
||||
<detection-done>true</detection-done>
|
||||
<sorting>DEFINITION_ORDER</sorting>
|
||||
</component>
|
||||
<component name="ProjectFrameBounds" extendedState="6">
|
||||
<option name="x" value="260" />
|
||||
<option name="y" value="20" />
|
||||
<option name="width" value="1400" />
|
||||
<option name="height" value="1000" />
|
||||
</component>
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
||||
<component name="ProjectView">
|
||||
<navigator proportions="" version="1">
|
||||
<foldersAlwaysOnTop value="true" />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="ProjectPane" />
|
||||
<pane id="Scope" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/../game" />
|
||||
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
||||
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
||||
</component>
|
||||
<component name="RunDashboard">
|
||||
<option name="ruleStates">
|
||||
<list>
|
||||
<RuleState>
|
||||
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
<RuleState>
|
||||
<option name="name" value="StatusDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="RunManager" selected="Application.Build All">
|
||||
<configuration name="Build All" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS_2="true" CONFIG_NAME="Debug" EXPLICIT_BUILD_TARGET_NAME="all">
|
||||
<method v="2">
|
||||
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="base_game" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS_2="true" PROJECT_NAME="base_game" TARGET_NAME="base_game" CONFIG_NAME="Debug">
|
||||
<method v="2">
|
||||
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<list>
|
||||
<item itemvalue="Application.Build All" />
|
||||
<item itemvalue="Application.base_game" />
|
||||
</list>
|
||||
</component>
|
||||
<component name="SvnConfiguration">
|
||||
<configuration />
|
||||
</component>
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="96019182-6838-49a3-a2d2-da9a5acdd3dd" name="Default Changelist" comment="" />
|
||||
<created>1539380871116</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1539380871116</updated>
|
||||
<workItem from="1539380872498" duration="881000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="881000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Favorites" side_tool="true" />
|
||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25" />
|
||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||
<window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
|
||||
<window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
|
||||
<window_info anchor="bottom" id="Terminal" />
|
||||
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
||||
<window_info active="true" anchor="bottom" id="CMake" visible="true" weight="0.329718" />
|
||||
<window_info anchor="bottom" id="Message" order="0" />
|
||||
<window_info anchor="bottom" id="Find" order="1" />
|
||||
<window_info anchor="bottom" id="Run" order="2" />
|
||||
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||
<window_info anchor="bottom" id="TODO" order="6" />
|
||||
<window_info anchor="right" id="Database" />
|
||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="1" />
|
||||
</component>
|
||||
<component name="VcsContentAnnotationSettings">
|
||||
<option name="myLimit" value="2678400000" />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/CMakeLists.txt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="425">
|
||||
<caret line="25" column="46" selection-start-line="25" selection-start-column="46" selection-end-line="25" selection-end-column="46" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
</project>
|
8
code/base_game/CMakeLists.txt
Normal file
8
code/base_game/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
file(GLOB BASE_GAME_SRC "*.h" "*.c" "*.cpp")
|
||||
|
||||
add_library(base_game OBJECT ${BASE_GAME_SRC})
|
||||
target_compile_options(base_game PUBLIC -Wno-write-strings)
|
File diff suppressed because it is too large
Load diff
|
@ -1,78 +0,0 @@
|
|||
// bg_lib.h -- standard C library replacement routines used by code
|
||||
// compiled for the virtual machine
|
||||
|
||||
// This file is NOT included on native builds
|
||||
|
||||
#ifndef BG_LIB_H_
|
||||
#define BG_LIB_H_
|
||||
|
||||
#ifdef Q3_VM
|
||||
#error "Q3_VM is defined - QVMs are no longer supported by RPG-X2"
|
||||
|
||||
typedef int size_t;
|
||||
|
||||
typedef char * va_list;
|
||||
#define _INTSIZEOF(n) ( (sizeof(n) + sizeof(int) - 1) & ~(sizeof(int) - 1) )
|
||||
#define va_start(ap,v) ( ap = (va_list)&v + _INTSIZEOF(v) )
|
||||
#define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) )
|
||||
#define va_end(ap) ( ap = (va_list)0 )
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
#define SCHAR_MIN (-128) /* minimum signed char value */
|
||||
#define SCHAR_MAX 127 /* maximum signed char value */
|
||||
#define UCHAR_MAX 0xff /* maximum unsigned char value */
|
||||
|
||||
#define SHRT_MIN (-32768) /* minimum (signed) short value */
|
||||
#define SHRT_MAX 32767 /* maximum (signed) short value */
|
||||
#define USHRT_MAX 0xffff /* maximum unsigned short value */
|
||||
#define INT_MIN (-2147483647 - 1) /* minimum (signed) int value */
|
||||
#define INT_MAX 2147483647 /* maximum (signed) int value */
|
||||
#define UINT_MAX 0xffffffff /* maximum unsigned int value */
|
||||
#define LONG_MIN (-2147483647L - 1) /* minimum (signed) long value */
|
||||
#define LONG_MAX 2147483647L /* maximum (signed) long value */
|
||||
#define ULONG_MAX 0xffffffffUL /* maximum unsigned long value */
|
||||
|
||||
// Misc functions
|
||||
typedef int cmp_t(const void *, const void *);
|
||||
void qsort(void *a, size_t n, size_t es, cmp_t *cmp);
|
||||
void srand( unsigned seed );
|
||||
int rand( void );
|
||||
|
||||
// String functions
|
||||
size_t strlen( const char *string );
|
||||
char *strcat( char *strDestination, const char *strSource );
|
||||
char *strcpy( char *strDestination, const char *strSource );
|
||||
int strcmp( const char *string1, const char *string2 );
|
||||
char *strchr( const char *string, int c );
|
||||
char *strstr( const char *string, const char *strCharSet );
|
||||
char *strncpy( char *strDest, const char *strSource, size_t count );
|
||||
int tolower( int c );
|
||||
int toupper( int c );
|
||||
|
||||
double atof( const char *string );
|
||||
double _atof( const char **stringPtr );
|
||||
int atoi( const char *string );
|
||||
int _atoi( const char **stringPtr );
|
||||
|
||||
int vsprintf( char *buffer, const char *fmt, va_list argptr );
|
||||
int sscanf( const char *buffer, const char *fmt, ... );
|
||||
|
||||
// Memory functions
|
||||
void *memmove( void *dest, const void *src, size_t count );
|
||||
void *memset( void *dest, int c, size_t count );
|
||||
void *memcpy( void *dest, const void *src, size_t count );
|
||||
|
||||
// Math functions
|
||||
double ceil( double x );
|
||||
double floor( double x );
|
||||
double sqrt( double x );
|
||||
double sin( double x );
|
||||
double cos( double x );
|
||||
double atan2( double y, double x );
|
||||
double tan( double x );
|
||||
int abs( int n );
|
||||
double fabs( double x );
|
||||
|
||||
#endif // Q3_VM
|
||||
|
||||
#endif /* BG_LIB_H_ */
|
|
@ -1,615 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2013 Ubergames
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "bg_list.h"
|
||||
#include <cstring>
|
||||
|
||||
/*
|
||||
* Create a list_iter object for the linked_list list. The flag init can be
|
||||
* either LIST_FRONT or LIST_BACK and indicates whether to start the iterator from the first
|
||||
* or last item in the list
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param init indicator where to start from
|
||||
* \return A new list iterator.
|
||||
*
|
||||
*/
|
||||
static list_iter_p list_iterator(list_p list, char init) {
|
||||
list_iter_p iter = (list_iter_p)malloc(sizeof(struct list_iter));
|
||||
|
||||
if(iter == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if(init == LIST_FRONT) {
|
||||
iter->current = list->first;
|
||||
} else if(init == LIST_BACK) {
|
||||
iter->current = list->last;
|
||||
} else { // asume front
|
||||
iter->current = list->first;
|
||||
}
|
||||
|
||||
iter->list = list;
|
||||
iter->started = 0;
|
||||
|
||||
return iter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an item with the given value, type, and size to the list.
|
||||
* The data is copied by value, so the original pointer must be freed if it
|
||||
* was allocated on the heap.
|
||||
* Returns the length of the list if succesfull else returns 0.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param data pointer to data
|
||||
* \param type type of data
|
||||
* \param size size of data
|
||||
* \param end indicator where to add the data
|
||||
* \return Count of elements in the list
|
||||
*/
|
||||
static int32_t list_add(list_p list, void* data, dataType_t type, size_t size, char end) {
|
||||
lnode_p node = (lnode_p)malloc(sizeof(struct linked_node));
|
||||
|
||||
node->cont = (container_p)malloc(sizeof(container));
|
||||
if(node->cont == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
node->cont->type = type;
|
||||
node->cont->data = malloc(size);
|
||||
if(node->cont->data == NULL) {
|
||||
free(node);
|
||||
return 0;
|
||||
}
|
||||
memcpy(node->cont->data, data, size);
|
||||
node->cont->pointer = 0;
|
||||
node->cont->size = size;
|
||||
|
||||
if(list->first == NULL) {
|
||||
node->prev = NULL;
|
||||
node->next = NULL;
|
||||
list->first = node;
|
||||
list->last = node;
|
||||
} else if(end == LIST_BACK) {
|
||||
list->last->next = node;
|
||||
node->prev = list->last;
|
||||
node->next = NULL;
|
||||
list->last = node;
|
||||
} else if(end == LIST_FRONT) {
|
||||
list->first->prev = node;
|
||||
node->next = list->first;
|
||||
node->prev = NULL;
|
||||
list->first = node;
|
||||
} else { // assume back
|
||||
list->last->next = node;
|
||||
node->prev = list->last;
|
||||
node->next = NULL;
|
||||
list->last = node;
|
||||
}
|
||||
list->length++;
|
||||
|
||||
return list->length;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an item with the given calue, type, and size to the end of the list.
|
||||
* The data is copied by value, so the original pointer must be freed if it
|
||||
* was allocated on the heap.
|
||||
* Returns the length of the list if successfull else returns 0.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param data pointer to data
|
||||
* \param type type of data
|
||||
* \param size size of data
|
||||
* \return Count of elements in the list
|
||||
*/
|
||||
static int32_t list_append(list_p list, void* data, dataType_t type, size_t size) {
|
||||
return list_add(list, data, type, size, LIST_BACK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an item with the given calue, type, and size to the front of the list.
|
||||
* The data is copied by value, so the original pointer must be freed if it
|
||||
* was allocated on the heap.
|
||||
* Returns the length of the list if successfull else returns 0.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param data pointer to data
|
||||
* \param type type of data
|
||||
* \param size size of data
|
||||
* \return Count of elements in the list
|
||||
*/
|
||||
static int32_t list_prepend(list_p list, void* data, dataType_t type, size_t size) {
|
||||
return list_add(list, data, type, size, LIST_FRONT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a pointer to an item with the given value and type to the list.
|
||||
* Returns the length of the list if succesfull else returns 0.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param data pointer to data
|
||||
* \param type type of the data
|
||||
* \param end indicator where to insert
|
||||
* \return Count of elements in the list
|
||||
*/
|
||||
static int32_t list_add_ptr(list_p list, void* data, dataType_t type, char end) {
|
||||
lnode_p node = (lnode_p)malloc(sizeof(struct linked_node));
|
||||
|
||||
node->cont = (container_p)malloc(sizeof(container));
|
||||
if(node->cont == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
node->cont->type = type;
|
||||
node->cont->data = data;
|
||||
node->cont->pointer = 1;
|
||||
node->cont->size = 0;
|
||||
|
||||
if(list->first == NULL) {
|
||||
node->prev = NULL;
|
||||
node->next = NULL;
|
||||
list->first = node;
|
||||
list->last = node;
|
||||
} else if(end == LIST_BACK) {
|
||||
list->last->next = node;
|
||||
node->prev = list->last;
|
||||
node->next = NULL;
|
||||
list->last = node;
|
||||
} else if(end == LIST_FRONT) {
|
||||
list->first->prev = node;
|
||||
node->next = list->first;
|
||||
node->prev = NULL;
|
||||
list->first = node;
|
||||
} else { // assume back
|
||||
list->last->next = node;
|
||||
node->prev = list->last;
|
||||
node->next = NULL;
|
||||
list->last = node;
|
||||
}
|
||||
list->length++;
|
||||
|
||||
return list->length;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a pointer to an item with the given calue, type, and size to the end of the list.
|
||||
* Returns the length of the list if successfull else returns 0.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param data pointer to data
|
||||
* \param type type of data
|
||||
* \return Count of elements in list
|
||||
*/
|
||||
static int32_t list_append_ptr(list_p list, void* data, dataType_t type) {
|
||||
return list_add_ptr(list, data, type, LIST_BACK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a pointer to an item with the given calue, type, and size to the front of the list.
|
||||
* Returns the length of the list if successfull else returns 0.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param data pointer to data
|
||||
* \param type type of data
|
||||
* \return Count of elements in list
|
||||
*/
|
||||
static int32_t list_prepend_ptr(list_p list, void* data, dataType_t type) {
|
||||
return list_add_ptr(list, data, type, LIST_FRONT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the data held by the current item pointed to by the iterator
|
||||
*
|
||||
* \param list pointer to a iterator
|
||||
* \return container for the current element
|
||||
*/
|
||||
static container_p list_current(list_iter_p iter){
|
||||
if(iter->started && iter->current != NULL) {
|
||||
return iter->current->cont;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Advances the iterator to the next item in the list and returns the data
|
||||
* stored there.
|
||||
*
|
||||
* \param list pointer to a iterator
|
||||
* \return container of the next element
|
||||
*/
|
||||
static container_p list_next(list_iter_p iter) {
|
||||
if(!iter->started && iter->current != NULL) {
|
||||
iter->started = 1;
|
||||
return iter->current->cont;
|
||||
}
|
||||
|
||||
if(iter->current != NULL) {
|
||||
iter->current = iter->current->next;
|
||||
return list_current(iter);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Advances the iterator to the next item in the list and returns the data
|
||||
* stored there. If the end of the list is reached it continues with the first
|
||||
* element of the list.
|
||||
*
|
||||
* \param list pointer to a iterator
|
||||
* \return container of the next element
|
||||
*/
|
||||
static container_p list_cycl_next(list_iter_p iter) {
|
||||
if(!iter->started && iter->current != NULL) {
|
||||
iter->started = 1;
|
||||
return iter->current->cont;
|
||||
}
|
||||
if(iter->current != NULL) {
|
||||
iter->current = iter->current->next;
|
||||
if(iter->current == NULL) {
|
||||
iter->current = iter->list->first;
|
||||
}
|
||||
return list_current(iter);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Advances the iterator to the previous item in the list and returns the data
|
||||
* stored there.
|
||||
*
|
||||
* \param list pointer to a iterator
|
||||
* \return container of the previous element
|
||||
*/
|
||||
static container_p list_prev(list_iter_p iter) {
|
||||
if(!iter->started&&iter->current!=NULL) {
|
||||
iter->started = 1;
|
||||
return iter->current->cont;
|
||||
}
|
||||
if(iter->current!=NULL) {
|
||||
iter->current = iter->current->prev;
|
||||
return list_current(iter);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Advances the iterator to the previous item in the list and returns the data
|
||||
* stored there. If the start of the list is reached it continues with the last
|
||||
* element of the list.
|
||||
*
|
||||
* \param list pointer to a iterator
|
||||
* \return container of the previous element
|
||||
*/
|
||||
static container_p list_cycl_prev(list_iter_p iter){
|
||||
if(!iter->started && iter->current != NULL) {
|
||||
iter->started =1 ;
|
||||
return iter->current->cont;
|
||||
}
|
||||
|
||||
if(iter->current!=NULL) {
|
||||
iter->current = iter->current->prev;
|
||||
if(iter->current == NULL) {
|
||||
iter->current = iter->list->last;
|
||||
}
|
||||
return list_current(iter);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the data stored in the first item of the list or NULL if the list is empty
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \return container for the first element of the list
|
||||
*/
|
||||
static container_p list_first(list_p list) {
|
||||
return list->first->cont;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the data stored in the last item of the list or NULL if the list is empty
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \return container for the last element of the list
|
||||
*/
|
||||
static container_p list_last(list_p list) {
|
||||
return list->last->cont;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes the last item in the list (LIFO order) and returns the data stored
|
||||
* there. The data returned must be freed later in order to remain memory safe.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \return container for the last element of the list
|
||||
*/
|
||||
static container_p list_pop(list_p list) {
|
||||
container_p cont;
|
||||
lnode_p last = list->last;
|
||||
|
||||
if(last == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
list->last = last->prev;
|
||||
cont = last->cont;
|
||||
|
||||
if(last->prev != NULL) {
|
||||
last->prev->next = NULL;
|
||||
}
|
||||
|
||||
free(last);
|
||||
list->length--;
|
||||
|
||||
if(list->length == 0) {
|
||||
list->last = list->first = NULL;
|
||||
}
|
||||
|
||||
return cont;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes the first item in the list (FIFO order) and returns the data stored
|
||||
* there. The data return must be freed later in order to remain memory safe.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \return container for the first element of the list
|
||||
*/
|
||||
static container_p list_poll(list_p list){
|
||||
container_p cont;
|
||||
lnode_p first = list->first;
|
||||
|
||||
if(first == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
list->first = first->next;
|
||||
cont = first->cont;
|
||||
|
||||
if(first->next != NULL) {
|
||||
first->next->prev = NULL;
|
||||
}
|
||||
|
||||
free(first);
|
||||
list->length--;
|
||||
|
||||
if(list->length == 0) {
|
||||
list->last = list->first = NULL;
|
||||
}
|
||||
|
||||
return cont;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience function for completely destroying an item in the list. If the end
|
||||
* flag is LIST_FRONT, an item will be polled from the front of the list and its data
|
||||
* freed. If the end flag is set to LIST_BACK, an item will be popped off the end of
|
||||
* the list and the data freed.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param end indicator where to remove
|
||||
*/
|
||||
static void list_remove(list_p list, char end) {
|
||||
container_p cont;
|
||||
|
||||
if(end == LIST_FRONT) {
|
||||
cont = list_poll(list);
|
||||
} else if (end == LIST_BACK) {
|
||||
cont = list_pop(list);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
if(cont != NULL) {
|
||||
if(cont->pointer == 0 && cont->data != NULL) {
|
||||
list->destructor(cont->data);
|
||||
}
|
||||
|
||||
free(cont);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Function for completely destroying an item in the list at a given index.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
* \param idx index of the element to remove
|
||||
*/
|
||||
static void list_remove_at(list_p list, int32_t idx) {
|
||||
container_p cont;
|
||||
list_iter_p iter;
|
||||
lnode_p target = NULL;
|
||||
int32_t i;
|
||||
|
||||
if(idx < 0 || idx >= list->length || list->length == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
iter = list_iterator(list, LIST_FRONT);
|
||||
for(cont = list_next(iter), i = 0; cont != NULL; cont = list_next(iter), i++) {
|
||||
if(i == idx) {
|
||||
target = iter->current;
|
||||
break;
|
||||
}
|
||||
}
|
||||
destroy_iterator(iter);
|
||||
|
||||
if(target == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(list->length == 1) {
|
||||
list->first = list->last = NULL;
|
||||
list->length--;
|
||||
|
||||
free(target);
|
||||
} else {
|
||||
target->prev->next = target->next;
|
||||
target->next->prev = target->prev;
|
||||
|
||||
if(target == list->first) {
|
||||
list->first = target->next;
|
||||
}
|
||||
if(target == list->last) {
|
||||
list->last = target->prev;
|
||||
}
|
||||
list->length--;
|
||||
|
||||
free(target);
|
||||
}
|
||||
|
||||
if(cont != NULL) {
|
||||
if(cont->pointer == 0 && cont->data != NULL) {
|
||||
list->destructor(cont->data);
|
||||
}
|
||||
|
||||
free(cont);
|
||||
}
|
||||
}
|
||||
|
||||
void destroy_list(list_p list) {
|
||||
lnode_p cur = list->first;
|
||||
lnode_p next;
|
||||
|
||||
while(cur!=NULL){
|
||||
next = cur->next;
|
||||
if(list->destructor != NULL) { // only destroy data if there is a destructor set
|
||||
if(cur->cont->pointer == 0 && cur->cont->data != NULL) {
|
||||
list->destructor(cur->cont->data);
|
||||
}
|
||||
free(cur->cont);
|
||||
}
|
||||
free(cur);
|
||||
cur = next;
|
||||
}
|
||||
free(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove all elements.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
*/
|
||||
static void list_clear(list_p list) {
|
||||
while(list->length > 0) {
|
||||
list_remove(list, LIST_BACK);
|
||||
}
|
||||
}
|
||||
|
||||
void destroy_iterator(list_iter_p iter) {
|
||||
if(iter == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
free(iter);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the element at the given index.
|
||||
*
|
||||
* \param list a list
|
||||
* \param idx index
|
||||
* \return element at given index or NULL if index is out of bounds
|
||||
*/
|
||||
static container_p list_at(list_p list, int32_t idx) {
|
||||
list_iter_p iter;
|
||||
container_p c = NULL;
|
||||
int32_t i;
|
||||
|
||||
if(idx < 0 || idx >= list->length || list == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
iter = list_iterator(list, LIST_FRONT);
|
||||
for(c = list_next(iter), i = 0; c != NULL; c = list_next(iter), i++) {
|
||||
if(i == idx) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return c;
|
||||
}
|
||||
|
||||
list_p create_list() {
|
||||
list_p list = (list_p)malloc(sizeof(struct list));
|
||||
|
||||
if(list == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
list->length = 0;
|
||||
list->first = NULL;
|
||||
list->last = NULL;
|
||||
list->destructor = free;
|
||||
list->add = list_add;
|
||||
list->add_ptr = list_add_ptr;
|
||||
list->append = list_append;
|
||||
list->append_ptr = list_append_ptr;
|
||||
list->at = list_at;
|
||||
list->clear = list_clear;
|
||||
list->current = list_current;
|
||||
list->cycl_next = list_cycl_next;
|
||||
list->cycl_prev = list_cycl_prev;
|
||||
list->end = list_first;
|
||||
list->front = list_last;
|
||||
list->iterator = list_iterator;
|
||||
list->next = list_next;
|
||||
list->poll = list_poll;
|
||||
list->pop = list_pop;
|
||||
list->prepend = list_prepend;
|
||||
list->prepend_ptr = list_prepend_ptr;
|
||||
list->prev = list_prev;
|
||||
list->remove = list_remove;
|
||||
list->removeAt = list_remove_at;
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
void list_init(struct list * l, void (*destructor)(void*)) {
|
||||
memset(l, 0, sizeof(struct list));
|
||||
l->destructor = destructor;
|
||||
l->add = list_add;
|
||||
l->add_ptr = list_add_ptr;
|
||||
l->append = list_append;
|
||||
l->append_ptr = list_append_ptr;
|
||||
l->at = list_at;
|
||||
l->clear = list_clear;
|
||||
l->current = list_current;
|
||||
l->cycl_next = list_cycl_next;
|
||||
l->cycl_prev = list_cycl_prev;
|
||||
l->end = list_first;
|
||||
l->front = list_last;
|
||||
l->iterator = list_iterator;
|
||||
l->next = list_next;
|
||||
l->poll = list_poll;
|
||||
l->pop = list_pop;
|
||||
l->prepend = list_prepend;
|
||||
l->prepend_ptr = list_prepend_ptr;
|
||||
l->prev = list_prev;
|
||||
l->remove = list_remove;
|
||||
l->removeAt = list_remove_at;
|
||||
}
|
||||
|
|
@ -1,170 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2013 Ubergames
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __LIBDS_LIST_H__
|
||||
#define __LIBDS_LIST_H__
|
||||
|
||||
/* A C implementation of a doubly-linked list. Contains void pointer values.
|
||||
Can be used as a LIFO stack of FIFO queue. */
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#else
|
||||
#include <cstdint>
|
||||
#endif
|
||||
|
||||
static const char LIST_FRONT = 0;
|
||||
static const char LIST_BACK = 1;
|
||||
|
||||
/**
|
||||
* Possible type the data in a container may have.
|
||||
* LT_DATA means that a custom struct was added.
|
||||
*/
|
||||
typedef enum {
|
||||
LT_BOOLEAN,
|
||||
LT_CHAR,
|
||||
LT_UNSIGNED_CHAR,
|
||||
LT_SHORT,
|
||||
LT_UNSIGNED_SHORT,
|
||||
LT_INT,
|
||||
LT_UNSIGNED_INT,
|
||||
LT_LONG,
|
||||
LT_UNSIGNED_LONG,
|
||||
LT_DOUBLE,
|
||||
LT_STRING,
|
||||
LT_DATA,
|
||||
LT_MAX
|
||||
} dataType_t;
|
||||
|
||||
/**
|
||||
* Container for data added to the list.
|
||||
* Use of a container allows to add standard c types to the list
|
||||
* without the need to embed them into a struct.
|
||||
*/
|
||||
struct container {
|
||||
void* data; /*!< pointer to the data */
|
||||
size_t size; /*!< size of the data */
|
||||
dataType_t type; /*!< type of the data */
|
||||
char pointer; /*!< determin if the data is a pointer */
|
||||
};
|
||||
|
||||
/**
|
||||
* Type for a pointer to a container.
|
||||
*/
|
||||
typedef struct container* container_p;
|
||||
|
||||
/**
|
||||
* Node for a double linked list.
|
||||
*/
|
||||
struct linked_node {
|
||||
container_p cont; /*!< cointainer with the data */
|
||||
struct linked_node* next; /*!< next list element */
|
||||
struct linked_node* prev; /*!< previous list element */
|
||||
};
|
||||
|
||||
/**
|
||||
* Type for a pointer to a node.
|
||||
*/
|
||||
typedef struct linked_node* lnode_p;
|
||||
|
||||
/**
|
||||
* Type for a pointer to a list iterator.
|
||||
*/
|
||||
typedef struct list_iter * list_iter_p;
|
||||
|
||||
/**
|
||||
* Type for a pointer to a list.
|
||||
*/
|
||||
typedef struct list * list_p;
|
||||
|
||||
/**
|
||||
* Struct describing a list.
|
||||
*/
|
||||
struct list{
|
||||
int32_t length; /*!< count of elements in the list */
|
||||
lnode_p first; /*!< first element of the list */
|
||||
lnode_p last; /*!< last element of the list */
|
||||
void (*destructor)(/*@out@*/ /*@null@*/ void*); /*!< pointer to destructor for data. Default is free. */
|
||||
/*@shared@*/ /*@null@*/ list_iter_p (*iterator)(list_p list, char init); /*!< creates a new list iterator */
|
||||
int32_t (*add_ptr)(list_p list, void* data, dataType_t type, char end); /*!< add a pointer to the list */
|
||||
int32_t (*append_ptr)(list_p list, void* data, dataType_t type); /*!< append a pointer to the list */
|
||||
int32_t (*prepend_ptr)(list_p list, void* data, dataType_t type); /*!< prepend a pointer to the list */
|
||||
int32_t (*add)(list_p list, void* data, dataType_t type, size_t size, char end); /*!< add data to the list */
|
||||
int32_t (*append)(list_p list, void* data, dataType_t type, size_t size); /*!< append data to the list */
|
||||
int32_t (*prepend)(list_p list, void* data, dataType_t type, size_t size); /*!< prepend data to the list */
|
||||
/*@shared@*/ /*@null@*/ container_p (*at)(list_p list, int32_t idx); /*!< get container at given index */
|
||||
void (*clear)(list_p list); /*!< clear the list */
|
||||
/*@shared@*/ /*@null@*/ container_p (*current)(list_iter_p iter); /*!< get the current element for the iterator */
|
||||
/*@shared@*/ /*@null@*/ container_p (*cycl_next)(list_iter_p iter); /*!< get the next element for the iterator (cyclic access) */
|
||||
/*@shared@*/ /*@null@*/ container_p (*cycl_prev)(list_iter_p iter); /*!< get the previous element for the iterator (cyclic acccess) */
|
||||
/*@shared@*/ /*@null@*/ container_p (*front)(list_p list); /*!< get the first element of the list */
|
||||
/*@shared@*/ /*@null@*/ container_p (*end)(list_p list); /*!< get the last element of the list */
|
||||
/*@shared@*/ /*@null@*/ container_p (*next)(list_iter_p iter); /*!< get the next element for the iterator */
|
||||
/*@shared@*/ /*@null@*/ container_p (*prev)(list_iter_p iter); /*!< get the previous element for the iterator */
|
||||
/*@shared@*/ /*@null@*/ container_p (*poll)(list_p list); /*<! poll */
|
||||
/*@shared@*/ /*@null@*/ container_p (*pop)(list_p list); /*<! pop */
|
||||
void (*remove)(list_p list, char end); /*!< remove an element from the list */
|
||||
void (*removeAt)(list_p list, int32_t idx); /*!< remove an element at a specified index */
|
||||
};
|
||||
|
||||
/**
|
||||
* Struct describing a list iterator.
|
||||
*/
|
||||
struct list_iter {
|
||||
list_p list; /*!< the list */
|
||||
lnode_p current; /*!< current node */
|
||||
char started; /*!< has iteration started */
|
||||
};
|
||||
|
||||
/**
|
||||
* Create a linked_list object. This pointer is created on the heap and must be
|
||||
* cleared with a call to destroy_list to avoid memory leaks.
|
||||
*
|
||||
* \return A new list allocated on the heap.
|
||||
*/
|
||||
/*@shared@*/ /*@null@*/ list_p create_list(void);
|
||||
|
||||
/**
|
||||
* Completely free the data associated with the list.
|
||||
*
|
||||
* \param list pointer to a list
|
||||
*/
|
||||
void destroy_list(/*@out@*/ /*@null@*/ list_p list);
|
||||
|
||||
/**
|
||||
* Destroy a list iterator if allocated.
|
||||
*
|
||||
* \param list pointer to a iterator
|
||||
*/
|
||||
void destroy_iterator(/*@out@*/ /*@null@*/list_iter_p iter);
|
||||
|
||||
/**
|
||||
* Initialize list. For use on lists that are NOT allocated on the heap.
|
||||
*
|
||||
* \param l a list
|
||||
* \param destructor pointer to destructor function
|
||||
*/
|
||||
void list_init(struct list * l, /*@null@*/ void (*destructor)(void*));
|
||||
|
||||
#endif
|
|
@ -2,6 +2,7 @@
|
|||
#define _BG_MISC_H
|
||||
|
||||
#include "q_shared.h"
|
||||
#include "bg_public.h"
|
||||
|
||||
void BG_LanguageFilename(char *baseName,char *baseExtension,char *finalName);
|
||||
char* BG_RegisterRace( const char *name );
|
||||
|
@ -16,4 +17,8 @@ char* BG_RegisterRace( const char *name );
|
|||
*/
|
||||
void BG_OriginFromBoundingBox(vec3_t mins, vec3_t maxs, vec_t* origin);
|
||||
|
||||
qboolean BG_ParseRankNames(char* fileName, rankNames_t rankNames[], size_t size);
|
||||
|
||||
void BG_LoadItemNames();
|
||||
|
||||
#endif /* _BG_MISC_H */
|
404
code/base_game/cmake-build-debug/CMakeCache.txt
Normal file
404
code/base_game/cmake-build-debug/CMakeCache.txt
Normal file
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,73 @@
|
|||
set(CMAKE_C_COMPILER "C:/msys64/mingw64/bin/gcc.exe")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_VERSION "8.2.0")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
|
||||
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
|
||||
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||
|
||||
set(CMAKE_C_PLATFORM_ID "MinGW")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "C:/msys64/mingw64/bin/ar.exe")
|
||||
set(CMAKE_C_COMPILER_AR "C:/msys64/mingw64/bin/gcc-ar.exe")
|
||||
set(CMAKE_RANLIB "C:/msys64/mingw64/bin/ranlib.exe")
|
||||
set(CMAKE_C_COMPILER_RANLIB "C:/msys64/mingw64/bin/gcc-ranlib.exe")
|
||||
set(CMAKE_LINKER "C:/msys64/mingw64/bin/ld.exe")
|
||||
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW 1)
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_C_COMPILER_ABI "")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
||||
|
||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "mingw32;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc;moldname;mingwex")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0;C:/msys64/mingw64/lib/gcc;C:/msys64/mingw64/x86_64-w64-mingw32/lib;C:/msys64/mingw64/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
|
@ -0,0 +1,76 @@
|
|||
set(CMAKE_CXX_COMPILER "C:/msys64/mingw64/bin/g++.exe")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "8.2.0")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
|
||||
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
|
||||
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
||||
|
||||
set(CMAKE_CXX_PLATFORM_ID "MinGW")
|
||||
set(CMAKE_CXX_SIMULATE_ID "")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "C:/msys64/mingw64/bin/ar.exe")
|
||||
set(CMAKE_CXX_COMPILER_AR "C:/msys64/mingw64/bin/gcc-ar.exe")
|
||||
set(CMAKE_RANLIB "C:/msys64/mingw64/bin/ranlib.exe")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "C:/msys64/mingw64/bin/gcc-ranlib.exe")
|
||||
set(CMAKE_LINKER "C:/msys64/mingw64/bin/ld.exe")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW 1)
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_CXX_COMPILER_ABI "")
|
||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
||||
|
||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;mingw32;gcc_s;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc_s;gcc;moldname;mingwex")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0;C:/msys64/mingw64/lib/gcc;C:/msys64/mingw64/x86_64-w64-mingw32/lib;C:/msys64/mingw64/lib")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,6 @@
|
|||
set(CMAKE_RC_COMPILER "C:/msys64/mingw64/bin/windres.exe")
|
||||
set(CMAKE_RC_COMPILER_ARG1 "")
|
||||
set(CMAKE_RC_COMPILER_LOADED 1)
|
||||
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
|
||||
set(CMAKE_RC_OUTPUT_EXTENSION .obj)
|
||||
set(CMAKE_RC_COMPILER_ENV_VAR "RC")
|
|
@ -0,0 +1,15 @@
|
|||
set(CMAKE_HOST_SYSTEM "Windows-10.0.17134")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Windows")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "10.0.17134")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Windows-10.0.17134")
|
||||
set(CMAKE_SYSTEM_NAME "Windows")
|
||||
set(CMAKE_SYSTEM_VERSION "10.0.17134")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "AMD64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
|
@ -0,0 +1,623 @@
|
|||
#ifdef __cplusplus
|
||||
# error "A C++ compiler has been selected for C."
|
||||
#endif
|
||||
|
||||
#if defined(__18CXX)
|
||||
# define ID_VOID_MAIN
|
||||
#endif
|
||||
#if defined(__CLASSIC_C__)
|
||||
/* cv-qualifiers did not exist in K&R C */
|
||||
# define const
|
||||
# define volatile
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_C)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_C >= 0x5100
|
||||
/* __SUNPRO_C = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_cc)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_cc = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||
|
||||
#elif defined(__DECC)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECC_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||
|
||||
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ibmxl__) || (defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800)
|
||||
# define COMPILER_ID "XL"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#elif defined(__TINYC__)
|
||||
# define COMPILER_ID "TinyCC"
|
||||
|
||||
#elif defined(__BCC__)
|
||||
# define COMPILER_ID "Bruce"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
# if defined(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||
# else
|
||||
/* SDCC = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
# if defined(_SGI_COMPILER_VERSION)
|
||||
/* _SGI_COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||
# else
|
||||
/* _COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__sgi)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
# define PLATFORM_ID "IRIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
|
||||
#if !defined(__STDC__)
|
||||
# if (defined(_MSC_VER) && !defined(__clang__)) \
|
||||
|| (defined(__ibmxl__) || defined(__IBMC__))
|
||||
# define C_DIALECT "90"
|
||||
# else
|
||||
# define C_DIALECT
|
||||
# endif
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_DIALECT "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_DIALECT "99"
|
||||
#else
|
||||
# define C_DIALECT "90"
|
||||
#endif
|
||||
const char* info_language_dialect_default =
|
||||
"INFO" ":" "dialect_default[" C_DIALECT "]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef ID_VOID_MAIN
|
||||
void main() {}
|
||||
#else
|
||||
# if defined(__CLASSIC_C__)
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
# else
|
||||
int main(int argc, char* argv[])
|
||||
# endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
Binary file not shown.
|
@ -0,0 +1,602 @@
|
|||
/* This source file must have a .cpp extension so that all C++ compilers
|
||||
recognize the extension without flags. Borland does not know .cxx for
|
||||
example. */
|
||||
#ifndef __cplusplus
|
||||
# error "A C compiler has been selected for C++."
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__COMO__)
|
||||
# define COMPILER_ID "Comeau"
|
||||
/* __COMO_VERSION__ = VRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
||||
|
||||
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_CC)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_CC >= 0x5100
|
||||
/* __SUNPRO_CC = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_aCC)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_aCC = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||
|
||||
#elif defined(__DECCXX)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECCXX_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
||||
|
||||
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__ibmxl__) || (defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800)
|
||||
# define COMPILER_ID "XL"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
# if defined(__ibmxl__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
# else
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
# endif
|
||||
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# if defined(__GNUC__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
# if defined(_SGI_COMPILER_VERSION)
|
||||
/* _SGI_COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||
# else
|
||||
/* _COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__sgi)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
# define PLATFORM_ID "IRIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
|
||||
#if defined(_MSC_VER) && defined(_MSVC_LANG)
|
||||
#define CXX_STD _MSVC_LANG
|
||||
#else
|
||||
#define CXX_STD __cplusplus
|
||||
#endif
|
||||
|
||||
const char* info_language_dialect_default = "INFO" ":" "dialect_default["
|
||||
#if CXX_STD > 201703L
|
||||
"20"
|
||||
#elif CXX_STD >= 201703L
|
||||
"17"
|
||||
#elif CXX_STD >= 201402L
|
||||
"14"
|
||||
#elif CXX_STD >= 201103L
|
||||
"11"
|
||||
#else
|
||||
"98"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,16 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "MinGW Makefiles" Generator, CMake Version 3.12
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
775
code/base_game/cmake-build-debug/CMakeFiles/CMakeOutput.log
Normal file
775
code/base_game/cmake-build-debug/CMakeFiles/CMakeOutput.log
Normal file
|
@ -0,0 +1,775 @@
|
|||
The system is: Windows - 10.0.17134 - AMD64
|
||||
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||
Compiler: C:/msys64/mingw64/bin/gcc.exe
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"
|
||||
|
||||
The C compiler identification is GNU, found in "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/3.12.2/CompilerIdC/a.exe"
|
||||
|
||||
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||
Compiler: C:/msys64/mingw64/bin/g++.exe
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe"
|
||||
|
||||
The CXX compiler identification is GNU, found in "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/3.12.2/CompilerIdCXX/a.exe"
|
||||
|
||||
Determining if the C compiler works passed with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_a608a/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_a608a.dir\build.make CMakeFiles/cmTC_a608a.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_a608a.dir/testCCompiler.c.obj
|
||||
C:\msys64\mingw64\bin\gcc.exe -o CMakeFiles\cmTC_a608a.dir\testCCompiler.c.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\CMakeTmp\testCCompiler.c
|
||||
Linking C executable cmTC_a608a.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_a608a.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_a608a.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_a608a.dir/objects.a @CMakeFiles\cmTC_a608a.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_a608a.dir/objects.a -Wl,--no-whole-archive -o cmTC_a608a.exe -Wl,--out-implib,libcmTC_a608a.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_a608a.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_712ae/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_712ae.dir\build.make CMakeFiles/cmTC_712ae.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_712ae.dir/CMakeCCompilerABI.c.obj
|
||||
C:\msys64\mingw64\bin\gcc.exe -o CMakeFiles\cmTC_712ae.dir\CMakeCCompilerABI.c.obj -c "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\share\cmake-3.12\Modules\CMakeCCompilerABI.c"
|
||||
Linking C executable cmTC_712ae.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_712ae.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_712ae.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_712ae.dir/objects.a @CMakeFiles\cmTC_712ae.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\gcc.exe -v -Wl,--whole-archive CMakeFiles\cmTC_712ae.dir/objects.a -Wl,--no-whole-archive -o cmTC_712ae.exe -Wl,--out-implib,libcmTC_712ae.dll.a -Wl,--major-image-version,0,--minor-image-version,0
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
|
||||
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe
|
||||
Target: x86_64-w64-mingw32
|
||||
Configured with: ../gcc-8.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=ada,c,lto,c++,objc,obj-c++,fortran --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev3, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
|
||||
Thread model: posix
|
||||
gcc version 8.2.0 (Rev3, Built by MSYS2 project)
|
||||
COMPILER_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/;C:/msys64/mingw64/bin/../lib/gcc/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/
|
||||
LIBRARY_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/;C:/msys64/mingw64/bin/../lib/gcc/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_712ae.exe' '-mtune=generic' '-march=x86-64'
|
||||
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/collect2.exe -plugin C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/liblto_plugin-0.dll -plugin-opt=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Walter\AppData\Local\Temp\ccsurmVV.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -m i386pep -Bdynamic -o cmTC_712ae.exe C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtbegin.o -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0 -LC:/msys64/mingw64/bin/../lib/gcc -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../.. --whole-archive CMakeFiles\cmTC_712ae.dir/objects.a --no-whole-archive --out-implib libcmTC_712ae.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtend.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_712ae.exe' '-mtune=generic' '-march=x86-64'
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Parsed C implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(ld\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_712ae/fast"]
|
||||
ignore line: [C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_712ae.dir\build.make CMakeFiles/cmTC_712ae.dir/build]
|
||||
ignore line: [mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_712ae.dir/CMakeCCompilerABI.c.obj]
|
||||
ignore line: [C:\msys64\mingw64\bin\gcc.exe -o CMakeFiles\cmTC_712ae.dir\CMakeCCompilerABI.c.obj -c "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\share\cmake-3.12\Modules\CMakeCCompilerABI.c"]
|
||||
ignore line: [Linking C executable cmTC_712ae.exe]
|
||||
ignore line: ["C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_712ae.dir\link.txt --verbose=1]
|
||||
ignore line: ["C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_712ae.dir/objects.a]
|
||||
ignore line: [C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_712ae.dir/objects.a @CMakeFiles\cmTC_712ae.dir\objects1.rsp]
|
||||
ignore line: [C:\msys64\mingw64\bin\gcc.exe -v -Wl,--whole-archive CMakeFiles\cmTC_712ae.dir/objects.a -Wl,--no-whole-archive -o cmTC_712ae.exe -Wl,--out-implib,libcmTC_712ae.dll.a -Wl,--major-image-version,0,--minor-image-version,0 ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe]
|
||||
ignore line: [Target: x86_64-w64-mingw32]
|
||||
ignore line: [Configured with: ../gcc-8.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=ada,c,lto,c++,objc,obj-c++,fortran --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev3, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 8.2.0 (Rev3, Built by MSYS2 project) ]
|
||||
ignore line: [COMPILER_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/]
|
||||
ignore line: [LIBRARY_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_712ae.exe' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/collect2.exe -plugin C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/liblto_plugin-0.dll -plugin-opt=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Walter\AppData\Local\Temp\ccsurmVV.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -m i386pep -Bdynamic -o cmTC_712ae.exe C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtbegin.o -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0 -LC:/msys64/mingw64/bin/../lib/gcc -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../.. --whole-archive CMakeFiles\cmTC_712ae.dir/objects.a --no-whole-archive --out-implib libcmTC_712ae.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtend.o]
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/collect2.exe] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/liblto_plugin-0.dll] ==> ignore
|
||||
arg [-plugin-opt=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=C:\Users\Walter\AppData\Local\Temp\ccsurmVV.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmingw32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_eh] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmoldname] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmingwex] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmsvcrt] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-ladvapi32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lshell32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-luser32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lkernel32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmingw32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_eh] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmoldname] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmingwex] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmsvcrt] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [i386pep] ==> ignore
|
||||
arg [-Bdynamic] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_712ae.exe] ==> ignore
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o] ==> ignore
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtbegin.o] ==> ignore
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc] ==> dir [C:/msys64/mingw64/bin/../lib/gcc]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../..] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../..]
|
||||
arg [--whole-archive] ==> ignore
|
||||
arg [CMakeFiles\cmTC_712ae.dir/objects.a] ==> ignore
|
||||
arg [--no-whole-archive] ==> ignore
|
||||
arg [--out-implib] ==> ignore
|
||||
arg [libcmTC_712ae.dll.a] ==> ignore
|
||||
arg [--major-image-version] ==> ignore
|
||||
arg [0] ==> ignore
|
||||
arg [--minor-image-version] ==> ignore
|
||||
arg [0] ==> ignore
|
||||
arg [-lmingw32] ==> lib [mingw32]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lgcc_eh] ==> lib [gcc_eh]
|
||||
arg [-lmoldname] ==> lib [moldname]
|
||||
arg [-lmingwex] ==> lib [mingwex]
|
||||
arg [-lmsvcrt] ==> lib [msvcrt]
|
||||
arg [-lpthread] ==> lib [pthread]
|
||||
arg [-ladvapi32] ==> lib [advapi32]
|
||||
arg [-lshell32] ==> lib [shell32]
|
||||
arg [-luser32] ==> lib [user32]
|
||||
arg [-lkernel32] ==> lib [kernel32]
|
||||
arg [-lmingw32] ==> lib [mingw32]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lgcc_eh] ==> lib [gcc_eh]
|
||||
arg [-lmoldname] ==> lib [moldname]
|
||||
arg [-lmingwex] ==> lib [mingwex]
|
||||
arg [-lmsvcrt] ==> lib [msvcrt]
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o] ==> ignore
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtend.o] ==> ignore
|
||||
remove lib [gcc_eh]
|
||||
remove lib [msvcrt]
|
||||
remove lib [gcc_eh]
|
||||
remove lib [msvcrt]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0] ==> [C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc] ==> [C:/msys64/mingw64/lib/gcc]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib] ==> [C:/msys64/mingw64/x86_64-w64-mingw32/lib]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib] ==> [C:/msys64/mingw64/lib]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib] ==> [C:/msys64/mingw64/x86_64-w64-mingw32/lib]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../..] ==> [C:/msys64/mingw64/lib]
|
||||
implicit libs: [mingw32;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc;moldname;mingwex]
|
||||
implicit dirs: [C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0;C:/msys64/mingw64/lib/gcc;C:/msys64/mingw64/x86_64-w64-mingw32/lib;C:/msys64/mingw64/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
|
||||
|
||||
Detecting C [-std=c11] compiler features compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_8700b/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_8700b.dir\build.make CMakeFiles/cmTC_8700b.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_8700b.dir/feature_tests.c.obj
|
||||
C:\msys64\mingw64\bin\gcc.exe -std=c11 -o CMakeFiles\cmTC_8700b.dir\feature_tests.c.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\feature_tests.c
|
||||
Linking C executable cmTC_8700b.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_8700b.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_8700b.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_8700b.dir/objects.a @CMakeFiles\cmTC_8700b.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_8700b.dir/objects.a -Wl,--no-whole-archive -o cmTC_8700b.exe -Wl,--out-implib,libcmTC_8700b.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_8700b.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:1c_restrict
|
||||
Feature record: C_FEATURE:1c_static_assert
|
||||
Feature record: C_FEATURE:1c_variadic_macros
|
||||
|
||||
|
||||
Detecting C [-std=c99] compiler features compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_908cc/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_908cc.dir\build.make CMakeFiles/cmTC_908cc.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_908cc.dir/feature_tests.c.obj
|
||||
C:\msys64\mingw64\bin\gcc.exe -std=c99 -o CMakeFiles\cmTC_908cc.dir\feature_tests.c.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\feature_tests.c
|
||||
Linking C executable cmTC_908cc.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_908cc.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_908cc.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_908cc.dir/objects.a @CMakeFiles\cmTC_908cc.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_908cc.dir/objects.a -Wl,--no-whole-archive -o cmTC_908cc.exe -Wl,--out-implib,libcmTC_908cc.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_908cc.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:1c_restrict
|
||||
Feature record: C_FEATURE:0c_static_assert
|
||||
Feature record: C_FEATURE:1c_variadic_macros
|
||||
|
||||
|
||||
Detecting C [-std=c90] compiler features compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_4097f/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_4097f.dir\build.make CMakeFiles/cmTC_4097f.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_4097f.dir/feature_tests.c.obj
|
||||
C:\msys64\mingw64\bin\gcc.exe -std=c90 -o CMakeFiles\cmTC_4097f.dir\feature_tests.c.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\feature_tests.c
|
||||
Linking C executable cmTC_4097f.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_4097f.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_4097f.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_4097f.dir/objects.a @CMakeFiles\cmTC_4097f.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_4097f.dir/objects.a -Wl,--no-whole-archive -o cmTC_4097f.exe -Wl,--out-implib,libcmTC_4097f.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_4097f.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:0c_restrict
|
||||
Feature record: C_FEATURE:0c_static_assert
|
||||
Feature record: C_FEATURE:0c_variadic_macros
|
||||
Determining if the CXX compiler works passed with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_168dc/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_168dc.dir\build.make CMakeFiles/cmTC_168dc.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_168dc.dir/testCXXCompiler.cxx.obj
|
||||
C:\msys64\mingw64\bin\g++.exe -o CMakeFiles\cmTC_168dc.dir\testCXXCompiler.cxx.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_168dc.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_168dc.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_168dc.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_168dc.dir/objects.a @CMakeFiles\cmTC_168dc.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\g++.exe -Wl,--whole-archive CMakeFiles\cmTC_168dc.dir/objects.a -Wl,--no-whole-archive -o cmTC_168dc.exe -Wl,--out-implib,libcmTC_168dc.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_168dc.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Detecting CXX compiler ABI info compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_0ecbb/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_0ecbb.dir\build.make CMakeFiles/cmTC_0ecbb.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_0ecbb.dir/CMakeCXXCompilerABI.cpp.obj
|
||||
C:\msys64\mingw64\bin\g++.exe -o CMakeFiles\cmTC_0ecbb.dir\CMakeCXXCompilerABI.cpp.obj -c "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\share\cmake-3.12\Modules\CMakeCXXCompilerABI.cpp"
|
||||
Linking CXX executable cmTC_0ecbb.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_0ecbb.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_0ecbb.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_0ecbb.dir/objects.a @CMakeFiles\cmTC_0ecbb.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\g++.exe -v -Wl,--whole-archive CMakeFiles\cmTC_0ecbb.dir/objects.a -Wl,--no-whole-archive -o cmTC_0ecbb.exe -Wl,--out-implib,libcmTC_0ecbb.dll.a -Wl,--major-image-version,0,--minor-image-version,0
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=C:\msys64\mingw64\bin\g++.exe
|
||||
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe
|
||||
Target: x86_64-w64-mingw32
|
||||
Configured with: ../gcc-8.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=ada,c,lto,c++,objc,obj-c++,fortran --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev3, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
|
||||
Thread model: posix
|
||||
gcc version 8.2.0 (Rev3, Built by MSYS2 project)
|
||||
COMPILER_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/;C:/msys64/mingw64/bin/../lib/gcc/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/
|
||||
LIBRARY_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/;C:/msys64/mingw64/bin/../lib/gcc/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/;C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_0ecbb.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/collect2.exe -plugin C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/liblto_plugin-0.dll -plugin-opt=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Walter\AppData\Local\Temp\cccm0Qlr.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -m i386pep -Bdynamic -o cmTC_0ecbb.exe C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtbegin.o -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0 -LC:/msys64/mingw64/bin/../lib/gcc -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../.. --whole-archive CMakeFiles\cmTC_0ecbb.dir/objects.a --no-whole-archive --out-implib libcmTC_0ecbb.dll.a --major-image-version 0 --minor-image-version 0 -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtend.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_0ecbb.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Parsed CXX implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(ld\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_0ecbb/fast"]
|
||||
ignore line: [C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_0ecbb.dir\build.make CMakeFiles/cmTC_0ecbb.dir/build]
|
||||
ignore line: [mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_0ecbb.dir/CMakeCXXCompilerABI.cpp.obj]
|
||||
ignore line: [C:\msys64\mingw64\bin\g++.exe -o CMakeFiles\cmTC_0ecbb.dir\CMakeCXXCompilerABI.cpp.obj -c "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\share\cmake-3.12\Modules\CMakeCXXCompilerABI.cpp"]
|
||||
ignore line: [Linking CXX executable cmTC_0ecbb.exe]
|
||||
ignore line: ["C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_0ecbb.dir\link.txt --verbose=1]
|
||||
ignore line: ["C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_0ecbb.dir/objects.a]
|
||||
ignore line: [C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_0ecbb.dir/objects.a @CMakeFiles\cmTC_0ecbb.dir\objects1.rsp]
|
||||
ignore line: [C:\msys64\mingw64\bin\g++.exe -v -Wl,--whole-archive CMakeFiles\cmTC_0ecbb.dir/objects.a -Wl,--no-whole-archive -o cmTC_0ecbb.exe -Wl,--out-implib,libcmTC_0ecbb.dll.a -Wl,--major-image-version,0,--minor-image-version,0 ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=C:\msys64\mingw64\bin\g++.exe]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe]
|
||||
ignore line: [Target: x86_64-w64-mingw32]
|
||||
ignore line: [Configured with: ../gcc-8.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=ada,c,lto,c++,objc,obj-c++,fortran --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev3, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 8.2.0 (Rev3, Built by MSYS2 project) ]
|
||||
ignore line: [COMPILER_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/]
|
||||
ignore line: [LIBRARY_PATH=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/]
|
||||
ignore line: [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_0ecbb.exe' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/collect2.exe -plugin C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/liblto_plugin-0.dll -plugin-opt=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Walter\AppData\Local\Temp\cccm0Qlr.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -m i386pep -Bdynamic -o cmTC_0ecbb.exe C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtbegin.o -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0 -LC:/msys64/mingw64/bin/../lib/gcc -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../.. --whole-archive CMakeFiles\cmTC_0ecbb.dir/objects.a --no-whole-archive --out-implib libcmTC_0ecbb.dll.a --major-image-version 0 --minor-image-version 0 -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtend.o]
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/collect2.exe] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/liblto_plugin-0.dll] ==> ignore
|
||||
arg [-plugin-opt=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/lto-wrapper.exe] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=C:\Users\Walter\AppData\Local\Temp\cccm0Qlr.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmingw32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmoldname] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmingwex] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmsvcrt] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-ladvapi32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lshell32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-luser32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lkernel32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmingw32] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmoldname] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmingwex] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lmsvcrt] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [i386pep] ==> ignore
|
||||
arg [-Bdynamic] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_0ecbb.exe] ==> ignore
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/crt2.o] ==> ignore
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtbegin.o] ==> ignore
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc] ==> dir [C:/msys64/mingw64/bin/../lib/gcc]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib]
|
||||
arg [-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../..] ==> dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../..]
|
||||
arg [--whole-archive] ==> ignore
|
||||
arg [CMakeFiles\cmTC_0ecbb.dir/objects.a] ==> ignore
|
||||
arg [--no-whole-archive] ==> ignore
|
||||
arg [--out-implib] ==> ignore
|
||||
arg [libcmTC_0ecbb.dll.a] ==> ignore
|
||||
arg [--major-image-version] ==> ignore
|
||||
arg [0] ==> ignore
|
||||
arg [--minor-image-version] ==> ignore
|
||||
arg [0] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lmingw32] ==> lib [mingw32]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lmoldname] ==> lib [moldname]
|
||||
arg [-lmingwex] ==> lib [mingwex]
|
||||
arg [-lmsvcrt] ==> lib [msvcrt]
|
||||
arg [-lpthread] ==> lib [pthread]
|
||||
arg [-ladvapi32] ==> lib [advapi32]
|
||||
arg [-lshell32] ==> lib [shell32]
|
||||
arg [-luser32] ==> lib [user32]
|
||||
arg [-lkernel32] ==> lib [kernel32]
|
||||
arg [-lmingw32] ==> lib [mingw32]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lmoldname] ==> lib [moldname]
|
||||
arg [-lmingwex] ==> lib [mingwex]
|
||||
arg [-lmsvcrt] ==> lib [msvcrt]
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib/default-manifest.o] ==> ignore
|
||||
arg [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/crtend.o] ==> ignore
|
||||
remove lib [msvcrt]
|
||||
remove lib [msvcrt]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0] ==> [C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc] ==> [C:/msys64/mingw64/lib/gcc]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib/../lib] ==> [C:/msys64/mingw64/x86_64-w64-mingw32/lib]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../lib] ==> [C:/msys64/mingw64/lib]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib] ==> [C:/msys64/mingw64/x86_64-w64-mingw32/lib]
|
||||
collapse library dir [C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../..] ==> [C:/msys64/mingw64/lib]
|
||||
implicit libs: [stdc++;mingw32;gcc_s;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc_s;gcc;moldname;mingwex]
|
||||
implicit dirs: [C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0;C:/msys64/mingw64/lib/gcc;C:/msys64/mingw64/x86_64-w64-mingw32/lib;C:/msys64/mingw64/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
|
||||
|
||||
Detecting CXX [-std=c++2a] compiler features compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_3095d/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_3095d.dir\build.make CMakeFiles/cmTC_3095d.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_3095d.dir/feature_tests.cxx.obj
|
||||
C:\msys64\mingw64\bin\g++.exe -std=c++2a -o CMakeFiles\cmTC_3095d.dir\feature_tests.cxx.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\feature_tests.cxx
|
||||
Linking CXX executable cmTC_3095d.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_3095d.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_3095d.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_3095d.dir/objects.a @CMakeFiles\cmTC_3095d.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\g++.exe -Wl,--whole-archive CMakeFiles\cmTC_3095d.dir/objects.a -Wl,--no-whole-archive -o cmTC_3095d.exe -Wl,--out-implib,libcmTC_3095d.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_3095d.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_alias_templates
|
||||
Feature record: CXX_FEATURE:1cxx_alignas
|
||||
Feature record: CXX_FEATURE:1cxx_alignof
|
||||
Feature record: CXX_FEATURE:1cxx_attributes
|
||||
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
|
||||
Feature record: CXX_FEATURE:1cxx_auto_type
|
||||
Feature record: CXX_FEATURE:1cxx_binary_literals
|
||||
Feature record: CXX_FEATURE:1cxx_constexpr
|
||||
Feature record: CXX_FEATURE:1cxx_contextual_conversions
|
||||
Feature record: CXX_FEATURE:1cxx_decltype
|
||||
Feature record: CXX_FEATURE:1cxx_decltype_auto
|
||||
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
|
||||
Feature record: CXX_FEATURE:1cxx_default_function_template_args
|
||||
Feature record: CXX_FEATURE:1cxx_defaulted_functions
|
||||
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_delegating_constructors
|
||||
Feature record: CXX_FEATURE:1cxx_deleted_functions
|
||||
Feature record: CXX_FEATURE:1cxx_digit_separators
|
||||
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
|
||||
Feature record: CXX_FEATURE:1cxx_explicit_conversions
|
||||
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
|
||||
Feature record: CXX_FEATURE:1cxx_extern_templates
|
||||
Feature record: CXX_FEATURE:1cxx_final
|
||||
Feature record: CXX_FEATURE:1cxx_func_identifier
|
||||
Feature record: CXX_FEATURE:1cxx_generalized_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_generic_lambdas
|
||||
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
|
||||
Feature record: CXX_FEATURE:1cxx_inline_namespaces
|
||||
Feature record: CXX_FEATURE:1cxx_lambdas
|
||||
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
|
||||
Feature record: CXX_FEATURE:1cxx_local_type_template_args
|
||||
Feature record: CXX_FEATURE:1cxx_long_long_type
|
||||
Feature record: CXX_FEATURE:1cxx_noexcept
|
||||
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
|
||||
Feature record: CXX_FEATURE:1cxx_nullptr
|
||||
Feature record: CXX_FEATURE:1cxx_override
|
||||
Feature record: CXX_FEATURE:1cxx_range_for
|
||||
Feature record: CXX_FEATURE:1cxx_raw_string_literals
|
||||
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
|
||||
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
|
||||
Feature record: CXX_FEATURE:1cxx_return_type_deduction
|
||||
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
|
||||
Feature record: CXX_FEATURE:1cxx_rvalue_references
|
||||
Feature record: CXX_FEATURE:1cxx_sizeof_member
|
||||
Feature record: CXX_FEATURE:1cxx_static_assert
|
||||
Feature record: CXX_FEATURE:1cxx_strong_enums
|
||||
Feature record: CXX_FEATURE:1cxx_template_template_parameters
|
||||
Feature record: CXX_FEATURE:1cxx_thread_local
|
||||
Feature record: CXX_FEATURE:1cxx_trailing_return_types
|
||||
Feature record: CXX_FEATURE:1cxx_unicode_literals
|
||||
Feature record: CXX_FEATURE:1cxx_uniform_initialization
|
||||
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
|
||||
Feature record: CXX_FEATURE:1cxx_user_literals
|
||||
Feature record: CXX_FEATURE:1cxx_variable_templates
|
||||
Feature record: CXX_FEATURE:1cxx_variadic_macros
|
||||
Feature record: CXX_FEATURE:1cxx_variadic_templates
|
||||
|
||||
|
||||
Detecting CXX [-std=c++17] compiler features compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_295e7/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_295e7.dir\build.make CMakeFiles/cmTC_295e7.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_295e7.dir/feature_tests.cxx.obj
|
||||
C:\msys64\mingw64\bin\g++.exe -std=c++17 -o CMakeFiles\cmTC_295e7.dir\feature_tests.cxx.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\feature_tests.cxx
|
||||
Linking CXX executable cmTC_295e7.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_295e7.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_295e7.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_295e7.dir/objects.a @CMakeFiles\cmTC_295e7.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\g++.exe -Wl,--whole-archive CMakeFiles\cmTC_295e7.dir/objects.a -Wl,--no-whole-archive -o cmTC_295e7.exe -Wl,--out-implib,libcmTC_295e7.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_295e7.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_alias_templates
|
||||
Feature record: CXX_FEATURE:1cxx_alignas
|
||||
Feature record: CXX_FEATURE:1cxx_alignof
|
||||
Feature record: CXX_FEATURE:1cxx_attributes
|
||||
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
|
||||
Feature record: CXX_FEATURE:1cxx_auto_type
|
||||
Feature record: CXX_FEATURE:1cxx_binary_literals
|
||||
Feature record: CXX_FEATURE:1cxx_constexpr
|
||||
Feature record: CXX_FEATURE:1cxx_contextual_conversions
|
||||
Feature record: CXX_FEATURE:1cxx_decltype
|
||||
Feature record: CXX_FEATURE:1cxx_decltype_auto
|
||||
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
|
||||
Feature record: CXX_FEATURE:1cxx_default_function_template_args
|
||||
Feature record: CXX_FEATURE:1cxx_defaulted_functions
|
||||
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_delegating_constructors
|
||||
Feature record: CXX_FEATURE:1cxx_deleted_functions
|
||||
Feature record: CXX_FEATURE:1cxx_digit_separators
|
||||
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
|
||||
Feature record: CXX_FEATURE:1cxx_explicit_conversions
|
||||
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
|
||||
Feature record: CXX_FEATURE:1cxx_extern_templates
|
||||
Feature record: CXX_FEATURE:1cxx_final
|
||||
Feature record: CXX_FEATURE:1cxx_func_identifier
|
||||
Feature record: CXX_FEATURE:1cxx_generalized_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_generic_lambdas
|
||||
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
|
||||
Feature record: CXX_FEATURE:1cxx_inline_namespaces
|
||||
Feature record: CXX_FEATURE:1cxx_lambdas
|
||||
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
|
||||
Feature record: CXX_FEATURE:1cxx_local_type_template_args
|
||||
Feature record: CXX_FEATURE:1cxx_long_long_type
|
||||
Feature record: CXX_FEATURE:1cxx_noexcept
|
||||
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
|
||||
Feature record: CXX_FEATURE:1cxx_nullptr
|
||||
Feature record: CXX_FEATURE:1cxx_override
|
||||
Feature record: CXX_FEATURE:1cxx_range_for
|
||||
Feature record: CXX_FEATURE:1cxx_raw_string_literals
|
||||
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
|
||||
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
|
||||
Feature record: CXX_FEATURE:1cxx_return_type_deduction
|
||||
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
|
||||
Feature record: CXX_FEATURE:1cxx_rvalue_references
|
||||
Feature record: CXX_FEATURE:1cxx_sizeof_member
|
||||
Feature record: CXX_FEATURE:1cxx_static_assert
|
||||
Feature record: CXX_FEATURE:1cxx_strong_enums
|
||||
Feature record: CXX_FEATURE:1cxx_template_template_parameters
|
||||
Feature record: CXX_FEATURE:1cxx_thread_local
|
||||
Feature record: CXX_FEATURE:1cxx_trailing_return_types
|
||||
Feature record: CXX_FEATURE:1cxx_unicode_literals
|
||||
Feature record: CXX_FEATURE:1cxx_uniform_initialization
|
||||
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
|
||||
Feature record: CXX_FEATURE:1cxx_user_literals
|
||||
Feature record: CXX_FEATURE:1cxx_variable_templates
|
||||
Feature record: CXX_FEATURE:1cxx_variadic_macros
|
||||
Feature record: CXX_FEATURE:1cxx_variadic_templates
|
||||
|
||||
|
||||
Detecting CXX [-std=c++14] compiler features compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_158da/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_158da.dir\build.make CMakeFiles/cmTC_158da.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_158da.dir/feature_tests.cxx.obj
|
||||
C:\msys64\mingw64\bin\g++.exe -std=c++14 -o CMakeFiles\cmTC_158da.dir\feature_tests.cxx.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\feature_tests.cxx
|
||||
Linking CXX executable cmTC_158da.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_158da.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_158da.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_158da.dir/objects.a @CMakeFiles\cmTC_158da.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\g++.exe -Wl,--whole-archive CMakeFiles\cmTC_158da.dir/objects.a -Wl,--no-whole-archive -o cmTC_158da.exe -Wl,--out-implib,libcmTC_158da.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_158da.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_alias_templates
|
||||
Feature record: CXX_FEATURE:1cxx_alignas
|
||||
Feature record: CXX_FEATURE:1cxx_alignof
|
||||
Feature record: CXX_FEATURE:1cxx_attributes
|
||||
Feature record: CXX_FEATURE:1cxx_attribute_deprecated
|
||||
Feature record: CXX_FEATURE:1cxx_auto_type
|
||||
Feature record: CXX_FEATURE:1cxx_binary_literals
|
||||
Feature record: CXX_FEATURE:1cxx_constexpr
|
||||
Feature record: CXX_FEATURE:1cxx_contextual_conversions
|
||||
Feature record: CXX_FEATURE:1cxx_decltype
|
||||
Feature record: CXX_FEATURE:1cxx_decltype_auto
|
||||
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
|
||||
Feature record: CXX_FEATURE:1cxx_default_function_template_args
|
||||
Feature record: CXX_FEATURE:1cxx_defaulted_functions
|
||||
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_delegating_constructors
|
||||
Feature record: CXX_FEATURE:1cxx_deleted_functions
|
||||
Feature record: CXX_FEATURE:1cxx_digit_separators
|
||||
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
|
||||
Feature record: CXX_FEATURE:1cxx_explicit_conversions
|
||||
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
|
||||
Feature record: CXX_FEATURE:1cxx_extern_templates
|
||||
Feature record: CXX_FEATURE:1cxx_final
|
||||
Feature record: CXX_FEATURE:1cxx_func_identifier
|
||||
Feature record: CXX_FEATURE:1cxx_generalized_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_generic_lambdas
|
||||
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
|
||||
Feature record: CXX_FEATURE:1cxx_inline_namespaces
|
||||
Feature record: CXX_FEATURE:1cxx_lambdas
|
||||
Feature record: CXX_FEATURE:1cxx_lambda_init_captures
|
||||
Feature record: CXX_FEATURE:1cxx_local_type_template_args
|
||||
Feature record: CXX_FEATURE:1cxx_long_long_type
|
||||
Feature record: CXX_FEATURE:1cxx_noexcept
|
||||
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
|
||||
Feature record: CXX_FEATURE:1cxx_nullptr
|
||||
Feature record: CXX_FEATURE:1cxx_override
|
||||
Feature record: CXX_FEATURE:1cxx_range_for
|
||||
Feature record: CXX_FEATURE:1cxx_raw_string_literals
|
||||
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
|
||||
Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
|
||||
Feature record: CXX_FEATURE:1cxx_return_type_deduction
|
||||
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
|
||||
Feature record: CXX_FEATURE:1cxx_rvalue_references
|
||||
Feature record: CXX_FEATURE:1cxx_sizeof_member
|
||||
Feature record: CXX_FEATURE:1cxx_static_assert
|
||||
Feature record: CXX_FEATURE:1cxx_strong_enums
|
||||
Feature record: CXX_FEATURE:1cxx_template_template_parameters
|
||||
Feature record: CXX_FEATURE:1cxx_thread_local
|
||||
Feature record: CXX_FEATURE:1cxx_trailing_return_types
|
||||
Feature record: CXX_FEATURE:1cxx_unicode_literals
|
||||
Feature record: CXX_FEATURE:1cxx_uniform_initialization
|
||||
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
|
||||
Feature record: CXX_FEATURE:1cxx_user_literals
|
||||
Feature record: CXX_FEATURE:1cxx_variable_templates
|
||||
Feature record: CXX_FEATURE:1cxx_variadic_macros
|
||||
Feature record: CXX_FEATURE:1cxx_variadic_templates
|
||||
|
||||
|
||||
Detecting CXX [-std=c++11] compiler features compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_ff623/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_ff623.dir\build.make CMakeFiles/cmTC_ff623.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_ff623.dir/feature_tests.cxx.obj
|
||||
C:\msys64\mingw64\bin\g++.exe -std=c++11 -o CMakeFiles\cmTC_ff623.dir\feature_tests.cxx.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\feature_tests.cxx
|
||||
Linking CXX executable cmTC_ff623.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_ff623.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_ff623.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_ff623.dir/objects.a @CMakeFiles\cmTC_ff623.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\g++.exe -Wl,--whole-archive CMakeFiles\cmTC_ff623.dir/objects.a -Wl,--no-whole-archive -o cmTC_ff623.exe -Wl,--out-implib,libcmTC_ff623.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_ff623.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_alias_templates
|
||||
Feature record: CXX_FEATURE:1cxx_alignas
|
||||
Feature record: CXX_FEATURE:1cxx_alignof
|
||||
Feature record: CXX_FEATURE:1cxx_attributes
|
||||
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
|
||||
Feature record: CXX_FEATURE:1cxx_auto_type
|
||||
Feature record: CXX_FEATURE:0cxx_binary_literals
|
||||
Feature record: CXX_FEATURE:1cxx_constexpr
|
||||
Feature record: CXX_FEATURE:0cxx_contextual_conversions
|
||||
Feature record: CXX_FEATURE:1cxx_decltype
|
||||
Feature record: CXX_FEATURE:0cxx_decltype_auto
|
||||
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
|
||||
Feature record: CXX_FEATURE:1cxx_default_function_template_args
|
||||
Feature record: CXX_FEATURE:1cxx_defaulted_functions
|
||||
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
|
||||
Feature record: CXX_FEATURE:1cxx_delegating_constructors
|
||||
Feature record: CXX_FEATURE:1cxx_deleted_functions
|
||||
Feature record: CXX_FEATURE:0cxx_digit_separators
|
||||
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
|
||||
Feature record: CXX_FEATURE:1cxx_explicit_conversions
|
||||
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
|
||||
Feature record: CXX_FEATURE:1cxx_extern_templates
|
||||
Feature record: CXX_FEATURE:1cxx_final
|
||||
Feature record: CXX_FEATURE:1cxx_func_identifier
|
||||
Feature record: CXX_FEATURE:1cxx_generalized_initializers
|
||||
Feature record: CXX_FEATURE:0cxx_generic_lambdas
|
||||
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
|
||||
Feature record: CXX_FEATURE:1cxx_inline_namespaces
|
||||
Feature record: CXX_FEATURE:1cxx_lambdas
|
||||
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
|
||||
Feature record: CXX_FEATURE:1cxx_local_type_template_args
|
||||
Feature record: CXX_FEATURE:1cxx_long_long_type
|
||||
Feature record: CXX_FEATURE:1cxx_noexcept
|
||||
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
|
||||
Feature record: CXX_FEATURE:1cxx_nullptr
|
||||
Feature record: CXX_FEATURE:1cxx_override
|
||||
Feature record: CXX_FEATURE:1cxx_range_for
|
||||
Feature record: CXX_FEATURE:1cxx_raw_string_literals
|
||||
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
|
||||
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
|
||||
Feature record: CXX_FEATURE:0cxx_return_type_deduction
|
||||
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
|
||||
Feature record: CXX_FEATURE:1cxx_rvalue_references
|
||||
Feature record: CXX_FEATURE:1cxx_sizeof_member
|
||||
Feature record: CXX_FEATURE:1cxx_static_assert
|
||||
Feature record: CXX_FEATURE:1cxx_strong_enums
|
||||
Feature record: CXX_FEATURE:1cxx_template_template_parameters
|
||||
Feature record: CXX_FEATURE:1cxx_thread_local
|
||||
Feature record: CXX_FEATURE:1cxx_trailing_return_types
|
||||
Feature record: CXX_FEATURE:1cxx_unicode_literals
|
||||
Feature record: CXX_FEATURE:1cxx_uniform_initialization
|
||||
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
|
||||
Feature record: CXX_FEATURE:1cxx_user_literals
|
||||
Feature record: CXX_FEATURE:0cxx_variable_templates
|
||||
Feature record: CXX_FEATURE:1cxx_variadic_macros
|
||||
Feature record: CXX_FEATURE:1cxx_variadic_templates
|
||||
|
||||
|
||||
Detecting CXX [-std=c++98] compiler features compiled with the following output:
|
||||
Change Dir: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"C:/msys64/mingw64/bin/mingw32-make.exe" "cmTC_d4282/fast"
|
||||
C:/msys64/mingw64/bin/mingw32-make.exe -f CMakeFiles\cmTC_d4282.dir\build.make CMakeFiles/cmTC_d4282.dir/build
|
||||
mingw32-make.exe[1]: Entering directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_d4282.dir/feature_tests.cxx.obj
|
||||
C:\msys64\mingw64\bin\g++.exe -std=c++98 -o CMakeFiles\cmTC_d4282.dir\feature_tests.cxx.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\feature_tests.cxx
|
||||
Linking CXX executable cmTC_d4282.exe
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_d4282.dir\link.txt --verbose=1
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_d4282.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\cmTC_d4282.dir/objects.a @CMakeFiles\cmTC_d4282.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\g++.exe -Wl,--whole-archive CMakeFiles\cmTC_d4282.dir/objects.a -Wl,--no-whole-archive -o cmTC_d4282.exe -Wl,--out-implib,libcmTC_d4282.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_d4282.dir\linklibs.rsp
|
||||
mingw32-make.exe[1]: Leaving directory 'C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
|
||||
Feature record: CXX_FEATURE:0cxx_alias_templates
|
||||
Feature record: CXX_FEATURE:0cxx_alignas
|
||||
Feature record: CXX_FEATURE:0cxx_alignof
|
||||
Feature record: CXX_FEATURE:0cxx_attributes
|
||||
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
|
||||
Feature record: CXX_FEATURE:0cxx_auto_type
|
||||
Feature record: CXX_FEATURE:0cxx_binary_literals
|
||||
Feature record: CXX_FEATURE:0cxx_constexpr
|
||||
Feature record: CXX_FEATURE:0cxx_contextual_conversions
|
||||
Feature record: CXX_FEATURE:0cxx_decltype
|
||||
Feature record: CXX_FEATURE:0cxx_decltype_auto
|
||||
Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
|
||||
Feature record: CXX_FEATURE:0cxx_default_function_template_args
|
||||
Feature record: CXX_FEATURE:0cxx_defaulted_functions
|
||||
Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
|
||||
Feature record: CXX_FEATURE:0cxx_delegating_constructors
|
||||
Feature record: CXX_FEATURE:0cxx_deleted_functions
|
||||
Feature record: CXX_FEATURE:0cxx_digit_separators
|
||||
Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
|
||||
Feature record: CXX_FEATURE:0cxx_explicit_conversions
|
||||
Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
|
||||
Feature record: CXX_FEATURE:0cxx_extern_templates
|
||||
Feature record: CXX_FEATURE:0cxx_final
|
||||
Feature record: CXX_FEATURE:0cxx_func_identifier
|
||||
Feature record: CXX_FEATURE:0cxx_generalized_initializers
|
||||
Feature record: CXX_FEATURE:0cxx_generic_lambdas
|
||||
Feature record: CXX_FEATURE:0cxx_inheriting_constructors
|
||||
Feature record: CXX_FEATURE:0cxx_inline_namespaces
|
||||
Feature record: CXX_FEATURE:0cxx_lambdas
|
||||
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
|
||||
Feature record: CXX_FEATURE:0cxx_local_type_template_args
|
||||
Feature record: CXX_FEATURE:0cxx_long_long_type
|
||||
Feature record: CXX_FEATURE:0cxx_noexcept
|
||||
Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
|
||||
Feature record: CXX_FEATURE:0cxx_nullptr
|
||||
Feature record: CXX_FEATURE:0cxx_override
|
||||
Feature record: CXX_FEATURE:0cxx_range_for
|
||||
Feature record: CXX_FEATURE:0cxx_raw_string_literals
|
||||
Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
|
||||
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
|
||||
Feature record: CXX_FEATURE:0cxx_return_type_deduction
|
||||
Feature record: CXX_FEATURE:0cxx_right_angle_brackets
|
||||
Feature record: CXX_FEATURE:0cxx_rvalue_references
|
||||
Feature record: CXX_FEATURE:0cxx_sizeof_member
|
||||
Feature record: CXX_FEATURE:0cxx_static_assert
|
||||
Feature record: CXX_FEATURE:0cxx_strong_enums
|
||||
Feature record: CXX_FEATURE:1cxx_template_template_parameters
|
||||
Feature record: CXX_FEATURE:0cxx_thread_local
|
||||
Feature record: CXX_FEATURE:0cxx_trailing_return_types
|
||||
Feature record: CXX_FEATURE:0cxx_unicode_literals
|
||||
Feature record: CXX_FEATURE:0cxx_uniform_initialization
|
||||
Feature record: CXX_FEATURE:0cxx_unrestricted_unions
|
||||
Feature record: CXX_FEATURE:0cxx_user_literals
|
||||
Feature record: CXX_FEATURE:0cxx_variable_templates
|
||||
Feature record: CXX_FEATURE:0cxx_variadic_macros
|
||||
Feature record: CXX_FEATURE:0cxx_variadic_templates
|
55
code/base_game/cmake-build-debug/CMakeFiles/Makefile.cmake
Normal file
55
code/base_game/cmake-build-debug/CMakeFiles/Makefile.cmake
Normal file
|
@ -0,0 +1,55 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "MinGW Makefiles" Generator, CMake Version 3.12
|
||||
|
||||
# The generator used is:
|
||||
set(CMAKE_DEPENDS_GENERATOR "MinGW Makefiles")
|
||||
|
||||
# The top level Makefile was generated from the following files:
|
||||
set(CMAKE_MAKEFILE_DEPENDS
|
||||
"CMakeCache.txt"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeCInformation.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeCXXInformation.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeFindCodeBlocks.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeGenericSystem.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeInitializeConfigs.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeLanguageInformation.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeRCInformation.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Compiler/GNU-C.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Compiler/GNU-CXX.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Compiler/GNU.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-GNU-C-ABI.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-GNU-C.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-GNU-CXX-ABI.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-GNU-CXX.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-GNU.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-windres.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/Platform/WindowsPaths.cmake"
|
||||
"C:/Program Files/JetBrains/CLion 2018.2.4/bin/cmake/win/share/cmake-3.12/Modules/ProcessorCount.cmake"
|
||||
"../CMakeLists.txt"
|
||||
"CMakeFiles/3.12.2/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.12.2/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.12.2/CMakeRCCompiler.cmake"
|
||||
"CMakeFiles/3.12.2/CMakeSystem.cmake"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
set(CMAKE_MAKEFILE_OUTPUTS
|
||||
"Makefile"
|
||||
"CMakeFiles/cmake.check_cache"
|
||||
)
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
set(CMAKE_DEPEND_INFO_FILES
|
||||
"CMakeFiles/base_game.dir/DependInfo.cmake"
|
||||
)
|
112
code/base_game/cmake-build-debug/CMakeFiles/Makefile2
Normal file
112
code/base_game/cmake-build-debug/CMakeFiles/Makefile2
Normal file
|
@ -0,0 +1,112 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "MinGW Makefiles" Generator, CMake Version 3.12
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# The main recursive all target
|
||||
all:
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive preinstall target
|
||||
preinstall:
|
||||
|
||||
.PHONY : preinstall
|
||||
|
||||
# The main recursive clean target
|
||||
clean:
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
SHELL = cmd.exe
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe"
|
||||
|
||||
# The command to remove a file.
|
||||
RM = "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = C:\Users\Walter\Source\Repos\rpgxEF\code\base_game
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/base_game.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/base_game.dir/all:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/depend
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9 "Built target base_game"
|
||||
.PHONY : CMakeFiles/base_game.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: CMakeFiles/base_game.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/base_game.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles 9
|
||||
$(MAKE) -f CMakeFiles\Makefile2 CMakeFiles/base_game.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles 0
|
||||
.PHONY : CMakeFiles/base_game.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
base_game: CMakeFiles/base_game.dir/rule
|
||||
|
||||
.PHONY : base_game
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/base_game.dir/clean:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/clean
|
||||
.PHONY : CMakeFiles/base_game.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: CMakeFiles/base_game.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir
|
||||
C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/edit_cache.dir
|
||||
C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/rebuild_cache.dir
|
|
@ -0,0 +1,36 @@
|
|||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"C"
|
||||
"CXX"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_C
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_panimate.c" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/bg_panimate.c.obj"
|
||||
)
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_C_TARGET_INCLUDE_PATH
|
||||
)
|
||||
set(CMAKE_DEPENDS_CHECK_CXX
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_collision.cpp" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/bg_collision.cpp.obj"
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_list.cpp" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/bg_list.cpp.obj"
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_misc.cpp" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/bg_misc.cpp.obj"
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_oums.cpp" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/bg_oums.cpp.obj"
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_pmove.cpp" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/bg_pmove.cpp.obj"
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_slidemove.cpp" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/bg_slidemove.cpp.obj"
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/q_math.cpp" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/q_math.cpp.obj"
|
||||
"C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/q_shared.cpp" "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/q_shared.cpp.obj"
|
||||
)
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_CXX_TARGET_INCLUDE_PATH
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
|
@ -0,0 +1,2 @@
|
|||
# This is a dummy file for the OBJECT library base_game for the CMake CodeBlocks project generator.
|
||||
# Don't edit, this file will be overwritten.
|
|
@ -0,0 +1,201 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "MinGW Makefiles" Generator, CMake Version 3.12
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
SHELL = cmd.exe
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe"
|
||||
|
||||
# The command to remove a file.
|
||||
RM = "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = C:\Users\Walter\Source\Repos\rpgxEF\code\base_game
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include CMakeFiles/base_game.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/base_game.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include CMakeFiles/base_game.dir/flags.make
|
||||
|
||||
CMakeFiles/base_game.dir/bg_collision.cpp.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/bg_collision.cpp.obj: ../bg_collision.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/base_game.dir/bg_collision.cpp.obj"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles\base_game.dir\bg_collision.cpp.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_collision.cpp
|
||||
|
||||
CMakeFiles/base_game.dir/bg_collision.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base_game.dir/bg_collision.cpp.i"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_collision.cpp > CMakeFiles\base_game.dir\bg_collision.cpp.i
|
||||
|
||||
CMakeFiles/base_game.dir/bg_collision.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base_game.dir/bg_collision.cpp.s"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_collision.cpp -o CMakeFiles\base_game.dir\bg_collision.cpp.s
|
||||
|
||||
CMakeFiles/base_game.dir/bg_list.cpp.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/bg_list.cpp.obj: ../bg_list.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/base_game.dir/bg_list.cpp.obj"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles\base_game.dir\bg_list.cpp.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_list.cpp
|
||||
|
||||
CMakeFiles/base_game.dir/bg_list.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base_game.dir/bg_list.cpp.i"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_list.cpp > CMakeFiles\base_game.dir\bg_list.cpp.i
|
||||
|
||||
CMakeFiles/base_game.dir/bg_list.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base_game.dir/bg_list.cpp.s"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_list.cpp -o CMakeFiles\base_game.dir\bg_list.cpp.s
|
||||
|
||||
CMakeFiles/base_game.dir/bg_misc.cpp.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/bg_misc.cpp.obj: ../bg_misc.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object CMakeFiles/base_game.dir/bg_misc.cpp.obj"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles\base_game.dir\bg_misc.cpp.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_misc.cpp
|
||||
|
||||
CMakeFiles/base_game.dir/bg_misc.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base_game.dir/bg_misc.cpp.i"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_misc.cpp > CMakeFiles\base_game.dir\bg_misc.cpp.i
|
||||
|
||||
CMakeFiles/base_game.dir/bg_misc.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base_game.dir/bg_misc.cpp.s"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_misc.cpp -o CMakeFiles\base_game.dir\bg_misc.cpp.s
|
||||
|
||||
CMakeFiles/base_game.dir/bg_oums.cpp.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/bg_oums.cpp.obj: ../bg_oums.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object CMakeFiles/base_game.dir/bg_oums.cpp.obj"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles\base_game.dir\bg_oums.cpp.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_oums.cpp
|
||||
|
||||
CMakeFiles/base_game.dir/bg_oums.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base_game.dir/bg_oums.cpp.i"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_oums.cpp > CMakeFiles\base_game.dir\bg_oums.cpp.i
|
||||
|
||||
CMakeFiles/base_game.dir/bg_oums.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base_game.dir/bg_oums.cpp.s"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_oums.cpp -o CMakeFiles\base_game.dir\bg_oums.cpp.s
|
||||
|
||||
CMakeFiles/base_game.dir/bg_panimate.c.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/bg_panimate.c.obj: ../bg_panimate.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building C object CMakeFiles/base_game.dir/bg_panimate.c.obj"
|
||||
C:\msys64\mingw64\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\base_game.dir\bg_panimate.c.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_panimate.c
|
||||
|
||||
CMakeFiles/base_game.dir/bg_panimate.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/base_game.dir/bg_panimate.c.i"
|
||||
C:\msys64\mingw64\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_panimate.c > CMakeFiles\base_game.dir\bg_panimate.c.i
|
||||
|
||||
CMakeFiles/base_game.dir/bg_panimate.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/base_game.dir/bg_panimate.c.s"
|
||||
C:\msys64\mingw64\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_panimate.c -o CMakeFiles\base_game.dir\bg_panimate.c.s
|
||||
|
||||
CMakeFiles/base_game.dir/bg_pmove.cpp.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/bg_pmove.cpp.obj: ../bg_pmove.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building CXX object CMakeFiles/base_game.dir/bg_pmove.cpp.obj"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles\base_game.dir\bg_pmove.cpp.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_pmove.cpp
|
||||
|
||||
CMakeFiles/base_game.dir/bg_pmove.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base_game.dir/bg_pmove.cpp.i"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_pmove.cpp > CMakeFiles\base_game.dir\bg_pmove.cpp.i
|
||||
|
||||
CMakeFiles/base_game.dir/bg_pmove.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base_game.dir/bg_pmove.cpp.s"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_pmove.cpp -o CMakeFiles\base_game.dir\bg_pmove.cpp.s
|
||||
|
||||
CMakeFiles/base_game.dir/bg_slidemove.cpp.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/bg_slidemove.cpp.obj: ../bg_slidemove.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building CXX object CMakeFiles/base_game.dir/bg_slidemove.cpp.obj"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles\base_game.dir\bg_slidemove.cpp.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_slidemove.cpp
|
||||
|
||||
CMakeFiles/base_game.dir/bg_slidemove.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base_game.dir/bg_slidemove.cpp.i"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_slidemove.cpp > CMakeFiles\base_game.dir\bg_slidemove.cpp.i
|
||||
|
||||
CMakeFiles/base_game.dir/bg_slidemove.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base_game.dir/bg_slidemove.cpp.s"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\bg_slidemove.cpp -o CMakeFiles\base_game.dir\bg_slidemove.cpp.s
|
||||
|
||||
CMakeFiles/base_game.dir/q_math.cpp.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/q_math.cpp.obj: ../q_math.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building CXX object CMakeFiles/base_game.dir/q_math.cpp.obj"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles\base_game.dir\q_math.cpp.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\q_math.cpp
|
||||
|
||||
CMakeFiles/base_game.dir/q_math.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base_game.dir/q_math.cpp.i"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\q_math.cpp > CMakeFiles\base_game.dir\q_math.cpp.i
|
||||
|
||||
CMakeFiles/base_game.dir/q_math.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base_game.dir/q_math.cpp.s"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\q_math.cpp -o CMakeFiles\base_game.dir\q_math.cpp.s
|
||||
|
||||
CMakeFiles/base_game.dir/q_shared.cpp.obj: CMakeFiles/base_game.dir/flags.make
|
||||
CMakeFiles/base_game.dir/q_shared.cpp.obj: ../q_shared.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Building CXX object CMakeFiles/base_game.dir/q_shared.cpp.obj"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles\base_game.dir\q_shared.cpp.obj -c C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\q_shared.cpp
|
||||
|
||||
CMakeFiles/base_game.dir/q_shared.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base_game.dir/q_shared.cpp.i"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\q_shared.cpp > CMakeFiles\base_game.dir\q_shared.cpp.i
|
||||
|
||||
CMakeFiles/base_game.dir/q_shared.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base_game.dir/q_shared.cpp.s"
|
||||
C:\msys64\mingw64\bin\g++.exe $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\q_shared.cpp -o CMakeFiles\base_game.dir\q_shared.cpp.s
|
||||
|
||||
base_game: CMakeFiles/base_game.dir/bg_collision.cpp.obj
|
||||
base_game: CMakeFiles/base_game.dir/bg_list.cpp.obj
|
||||
base_game: CMakeFiles/base_game.dir/bg_misc.cpp.obj
|
||||
base_game: CMakeFiles/base_game.dir/bg_oums.cpp.obj
|
||||
base_game: CMakeFiles/base_game.dir/bg_panimate.c.obj
|
||||
base_game: CMakeFiles/base_game.dir/bg_pmove.cpp.obj
|
||||
base_game: CMakeFiles/base_game.dir/bg_slidemove.cpp.obj
|
||||
base_game: CMakeFiles/base_game.dir/q_math.cpp.obj
|
||||
base_game: CMakeFiles/base_game.dir/q_shared.cpp.obj
|
||||
base_game: CMakeFiles/base_game.dir/build.make
|
||||
|
||||
.PHONY : base_game
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/base_game.dir/build: base_game
|
||||
|
||||
.PHONY : CMakeFiles/base_game.dir/build
|
||||
|
||||
CMakeFiles/base_game.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles\base_game.dir\cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/base_game.dir/clean
|
||||
|
||||
CMakeFiles/base_game.dir/depend:
|
||||
$(CMAKE_COMMAND) -E cmake_depends "MinGW Makefiles" C:\Users\Walter\Source\Repos\rpgxEF\code\base_game C:\Users\Walter\Source\Repos\rpgxEF\code\base_game C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\base_game.dir\DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/base_game.dir/depend
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/base_game.dir/bg_collision.cpp.obj"
|
||||
"CMakeFiles/base_game.dir/bg_list.cpp.obj"
|
||||
"CMakeFiles/base_game.dir/bg_misc.cpp.obj"
|
||||
"CMakeFiles/base_game.dir/bg_oums.cpp.obj"
|
||||
"CMakeFiles/base_game.dir/bg_panimate.c.obj"
|
||||
"CMakeFiles/base_game.dir/bg_pmove.cpp.obj"
|
||||
"CMakeFiles/base_game.dir/bg_slidemove.cpp.obj"
|
||||
"CMakeFiles/base_game.dir/q_math.cpp.obj"
|
||||
"CMakeFiles/base_game.dir/q_shared.cpp.obj"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang C CXX)
|
||||
include(CMakeFiles/base_game.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
|
@ -0,0 +1,2 @@
|
|||
# Empty dependencies file for base_game.
|
||||
# This may be replaced when dependencies are built.
|
|
@ -0,0 +1,17 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "MinGW Makefiles" Generator, CMake Version 3.12
|
||||
|
||||
# compile C with C:/msys64/mingw64/bin/gcc.exe
|
||||
# compile CXX with C:/msys64/mingw64/bin/g++.exe
|
||||
C_FLAGS = -g
|
||||
|
||||
C_DEFINES =
|
||||
|
||||
C_INCLUDES =
|
||||
|
||||
CXX_FLAGS = -g -std=gnu++14
|
||||
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES =
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\base_game.dir/objects.a
|
||||
C:\msys64\mingw64\bin\ar.exe cr CMakeFiles\base_game.dir/objects.a @CMakeFiles\base_game.dir\objects1.rsp
|
||||
C:\msys64\mingw64\bin\g++.exe -g -Wl,--whole-archive CMakeFiles\base_game.dir/objects.a -Wl,--no-whole-archive -o base_game.exe -Wl,--out-implib,libbase_game.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\base_game.dir\linklibs.rsp
|
|
@ -0,0 +1,10 @@
|
|||
CMAKE_PROGRESS_1 = 1
|
||||
CMAKE_PROGRESS_2 = 2
|
||||
CMAKE_PROGRESS_3 = 3
|
||||
CMAKE_PROGRESS_4 = 4
|
||||
CMAKE_PROGRESS_5 = 5
|
||||
CMAKE_PROGRESS_6 = 6
|
||||
CMAKE_PROGRESS_7 = 7
|
||||
CMAKE_PROGRESS_8 = 8
|
||||
CMAKE_PROGRESS_9 = 9
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
ToolSet: w64 7.0@C:\msys64\mingw64
|
||||
Options:
|
||||
|
||||
Options:
|
|
@ -0,0 +1,4 @@
|
|||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" C:\Users\Walter\Source\Repos\rpgxEF\code\base_game
|
||||
-- Configuring done
|
||||
-- Generating done
|
||||
-- Build files have been written to: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug
|
|
@ -0,0 +1 @@
|
|||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
BIN
code/base_game/cmake-build-debug/CMakeFiles/feature_tests.bin
Normal file
BIN
code/base_game/cmake-build-debug/CMakeFiles/feature_tests.bin
Normal file
Binary file not shown.
34
code/base_game/cmake-build-debug/CMakeFiles/feature_tests.c
Normal file
34
code/base_game/cmake-build-debug/CMakeFiles/feature_tests.c
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
const char features[] = {"\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_function_prototypes\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_restrict\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_static_assert\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_variadic_macros\n"
|
||||
|
||||
};
|
||||
|
||||
int main(int argc, char** argv) { (void)argv; return features[argc]; }
|
405
code/base_game/cmake-build-debug/CMakeFiles/feature_tests.cxx
Normal file
405
code/base_game/cmake-build-debug/CMakeFiles/feature_tests.cxx
Normal file
|
@ -0,0 +1,405 @@
|
|||
|
||||
const char features[] = {"\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_aggregate_default_initializers\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_alias_templates\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_alignas\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_alignof\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_attributes\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_attribute_deprecated\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_auto_type\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_binary_literals\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_constexpr\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_contextual_conversions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_decltype\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_decltype_auto\n"
|
||||
"CXX_FEATURE:"
|
||||
#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_decltype_incomplete_return_types\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_default_function_template_args\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_defaulted_functions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_defaulted_move_initializers\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_delegating_constructors\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_deleted_functions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_digit_separators\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_enum_forward_declarations\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_explicit_conversions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_extended_friend_declarations\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_extern_templates\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_final\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_func_identifier\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_generalized_initializers\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_generic_lambdas\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_inheriting_constructors\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_inline_namespaces\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_lambdas\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_lambda_init_captures\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_local_type_template_args\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_long_long_type\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_noexcept\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_nonstatic_member_init\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_nullptr\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_override\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_range_for\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_raw_string_literals\n"
|
||||
"CXX_FEATURE:"
|
||||
#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_reference_qualified_functions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_relaxed_constexpr\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_return_type_deduction\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_right_angle_brackets\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_rvalue_references\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_sizeof_member\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_static_assert\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_strong_enums\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_template_template_parameters\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_thread_local\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_trailing_return_types\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_unicode_literals\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_uniform_initialization\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_unrestricted_unions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_user_literals\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_variable_templates\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_variadic_macros\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_variadic_templates\n"
|
||||
|
||||
};
|
||||
|
||||
int main(int argc, char** argv) { (void)argv; return features[argc]; }
|
|
@ -0,0 +1 @@
|
|||
9
|
417
code/base_game/cmake-build-debug/Makefile
Normal file
417
code/base_game/cmake-build-debug/Makefile
Normal file
|
@ -0,0 +1,417 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "MinGW Makefiles" Generator, CMake Version 3.12
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
SHELL = cmd.exe
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe"
|
||||
|
||||
# The command to remove a file.
|
||||
RM = "C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = C:\Users\Walter\Source\Repos\rpgxEF\code\base_game
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -E echo "No interactive CMake dialog available."
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
"C:\Program Files\JetBrains\CLion 2018.2.4\bin\cmake\win\bin\cmake.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles\progress.marks
|
||||
$(MAKE) -f CMakeFiles\Makefile2 all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start C:\Users\Walter\Source\Repos\rpgxEF\code\base_game\cmake-build-debug\CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
$(MAKE) -f CMakeFiles\Makefile2 clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
$(MAKE) -f CMakeFiles\Makefile2 preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
$(MAKE) -f CMakeFiles\Makefile2 preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named base_game
|
||||
|
||||
# Build rule for target.
|
||||
base_game: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles\Makefile2 base_game
|
||||
.PHONY : base_game
|
||||
|
||||
# fast build rule for target.
|
||||
base_game/fast:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/build
|
||||
.PHONY : base_game/fast
|
||||
|
||||
bg_collision.obj: bg_collision.cpp.obj
|
||||
|
||||
.PHONY : bg_collision.obj
|
||||
|
||||
# target to build an object file
|
||||
bg_collision.cpp.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_collision.cpp.obj
|
||||
.PHONY : bg_collision.cpp.obj
|
||||
|
||||
bg_collision.i: bg_collision.cpp.i
|
||||
|
||||
.PHONY : bg_collision.i
|
||||
|
||||
# target to preprocess a source file
|
||||
bg_collision.cpp.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_collision.cpp.i
|
||||
.PHONY : bg_collision.cpp.i
|
||||
|
||||
bg_collision.s: bg_collision.cpp.s
|
||||
|
||||
.PHONY : bg_collision.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
bg_collision.cpp.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_collision.cpp.s
|
||||
.PHONY : bg_collision.cpp.s
|
||||
|
||||
bg_list.obj: bg_list.cpp.obj
|
||||
|
||||
.PHONY : bg_list.obj
|
||||
|
||||
# target to build an object file
|
||||
bg_list.cpp.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_list.cpp.obj
|
||||
.PHONY : bg_list.cpp.obj
|
||||
|
||||
bg_list.i: bg_list.cpp.i
|
||||
|
||||
.PHONY : bg_list.i
|
||||
|
||||
# target to preprocess a source file
|
||||
bg_list.cpp.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_list.cpp.i
|
||||
.PHONY : bg_list.cpp.i
|
||||
|
||||
bg_list.s: bg_list.cpp.s
|
||||
|
||||
.PHONY : bg_list.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
bg_list.cpp.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_list.cpp.s
|
||||
.PHONY : bg_list.cpp.s
|
||||
|
||||
bg_misc.obj: bg_misc.cpp.obj
|
||||
|
||||
.PHONY : bg_misc.obj
|
||||
|
||||
# target to build an object file
|
||||
bg_misc.cpp.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_misc.cpp.obj
|
||||
.PHONY : bg_misc.cpp.obj
|
||||
|
||||
bg_misc.i: bg_misc.cpp.i
|
||||
|
||||
.PHONY : bg_misc.i
|
||||
|
||||
# target to preprocess a source file
|
||||
bg_misc.cpp.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_misc.cpp.i
|
||||
.PHONY : bg_misc.cpp.i
|
||||
|
||||
bg_misc.s: bg_misc.cpp.s
|
||||
|
||||
.PHONY : bg_misc.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
bg_misc.cpp.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_misc.cpp.s
|
||||
.PHONY : bg_misc.cpp.s
|
||||
|
||||
bg_oums.obj: bg_oums.cpp.obj
|
||||
|
||||
.PHONY : bg_oums.obj
|
||||
|
||||
# target to build an object file
|
||||
bg_oums.cpp.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_oums.cpp.obj
|
||||
.PHONY : bg_oums.cpp.obj
|
||||
|
||||
bg_oums.i: bg_oums.cpp.i
|
||||
|
||||
.PHONY : bg_oums.i
|
||||
|
||||
# target to preprocess a source file
|
||||
bg_oums.cpp.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_oums.cpp.i
|
||||
.PHONY : bg_oums.cpp.i
|
||||
|
||||
bg_oums.s: bg_oums.cpp.s
|
||||
|
||||
.PHONY : bg_oums.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
bg_oums.cpp.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_oums.cpp.s
|
||||
.PHONY : bg_oums.cpp.s
|
||||
|
||||
bg_panimate.obj: bg_panimate.c.obj
|
||||
|
||||
.PHONY : bg_panimate.obj
|
||||
|
||||
# target to build an object file
|
||||
bg_panimate.c.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_panimate.c.obj
|
||||
.PHONY : bg_panimate.c.obj
|
||||
|
||||
bg_panimate.i: bg_panimate.c.i
|
||||
|
||||
.PHONY : bg_panimate.i
|
||||
|
||||
# target to preprocess a source file
|
||||
bg_panimate.c.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_panimate.c.i
|
||||
.PHONY : bg_panimate.c.i
|
||||
|
||||
bg_panimate.s: bg_panimate.c.s
|
||||
|
||||
.PHONY : bg_panimate.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
bg_panimate.c.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_panimate.c.s
|
||||
.PHONY : bg_panimate.c.s
|
||||
|
||||
bg_pmove.obj: bg_pmove.cpp.obj
|
||||
|
||||
.PHONY : bg_pmove.obj
|
||||
|
||||
# target to build an object file
|
||||
bg_pmove.cpp.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_pmove.cpp.obj
|
||||
.PHONY : bg_pmove.cpp.obj
|
||||
|
||||
bg_pmove.i: bg_pmove.cpp.i
|
||||
|
||||
.PHONY : bg_pmove.i
|
||||
|
||||
# target to preprocess a source file
|
||||
bg_pmove.cpp.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_pmove.cpp.i
|
||||
.PHONY : bg_pmove.cpp.i
|
||||
|
||||
bg_pmove.s: bg_pmove.cpp.s
|
||||
|
||||
.PHONY : bg_pmove.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
bg_pmove.cpp.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_pmove.cpp.s
|
||||
.PHONY : bg_pmove.cpp.s
|
||||
|
||||
bg_slidemove.obj: bg_slidemove.cpp.obj
|
||||
|
||||
.PHONY : bg_slidemove.obj
|
||||
|
||||
# target to build an object file
|
||||
bg_slidemove.cpp.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_slidemove.cpp.obj
|
||||
.PHONY : bg_slidemove.cpp.obj
|
||||
|
||||
bg_slidemove.i: bg_slidemove.cpp.i
|
||||
|
||||
.PHONY : bg_slidemove.i
|
||||
|
||||
# target to preprocess a source file
|
||||
bg_slidemove.cpp.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_slidemove.cpp.i
|
||||
.PHONY : bg_slidemove.cpp.i
|
||||
|
||||
bg_slidemove.s: bg_slidemove.cpp.s
|
||||
|
||||
.PHONY : bg_slidemove.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
bg_slidemove.cpp.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/bg_slidemove.cpp.s
|
||||
.PHONY : bg_slidemove.cpp.s
|
||||
|
||||
q_math.obj: q_math.cpp.obj
|
||||
|
||||
.PHONY : q_math.obj
|
||||
|
||||
# target to build an object file
|
||||
q_math.cpp.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/q_math.cpp.obj
|
||||
.PHONY : q_math.cpp.obj
|
||||
|
||||
q_math.i: q_math.cpp.i
|
||||
|
||||
.PHONY : q_math.i
|
||||
|
||||
# target to preprocess a source file
|
||||
q_math.cpp.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/q_math.cpp.i
|
||||
.PHONY : q_math.cpp.i
|
||||
|
||||
q_math.s: q_math.cpp.s
|
||||
|
||||
.PHONY : q_math.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
q_math.cpp.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/q_math.cpp.s
|
||||
.PHONY : q_math.cpp.s
|
||||
|
||||
q_shared.obj: q_shared.cpp.obj
|
||||
|
||||
.PHONY : q_shared.obj
|
||||
|
||||
# target to build an object file
|
||||
q_shared.cpp.obj:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/q_shared.cpp.obj
|
||||
.PHONY : q_shared.cpp.obj
|
||||
|
||||
q_shared.i: q_shared.cpp.i
|
||||
|
||||
.PHONY : q_shared.i
|
||||
|
||||
# target to preprocess a source file
|
||||
q_shared.cpp.i:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/q_shared.cpp.i
|
||||
.PHONY : q_shared.cpp.i
|
||||
|
||||
q_shared.s: q_shared.cpp.s
|
||||
|
||||
.PHONY : q_shared.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
q_shared.cpp.s:
|
||||
$(MAKE) -f CMakeFiles\base_game.dir\build.make CMakeFiles/base_game.dir/q_shared.cpp.s
|
||||
.PHONY : q_shared.cpp.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo The following are some of the valid targets for this Makefile:
|
||||
@echo ... all (the default if no target is provided)
|
||||
@echo ... clean
|
||||
@echo ... depend
|
||||
@echo ... base_game
|
||||
@echo ... edit_cache
|
||||
@echo ... rebuild_cache
|
||||
@echo ... bg_collision.obj
|
||||
@echo ... bg_collision.i
|
||||
@echo ... bg_collision.s
|
||||
@echo ... bg_list.obj
|
||||
@echo ... bg_list.i
|
||||
@echo ... bg_list.s
|
||||
@echo ... bg_misc.obj
|
||||
@echo ... bg_misc.i
|
||||
@echo ... bg_misc.s
|
||||
@echo ... bg_oums.obj
|
||||
@echo ... bg_oums.i
|
||||
@echo ... bg_oums.s
|
||||
@echo ... bg_panimate.obj
|
||||
@echo ... bg_panimate.i
|
||||
@echo ... bg_panimate.s
|
||||
@echo ... bg_pmove.obj
|
||||
@echo ... bg_pmove.i
|
||||
@echo ... bg_pmove.s
|
||||
@echo ... bg_slidemove.obj
|
||||
@echo ... bg_slidemove.i
|
||||
@echo ... bg_slidemove.s
|
||||
@echo ... q_math.obj
|
||||
@echo ... q_math.i
|
||||
@echo ... q_math.s
|
||||
@echo ... q_shared.obj
|
||||
@echo ... q_shared.i
|
||||
@echo ... q_shared.s
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
143
code/base_game/cmake-build-debug/base_game.cbp
Normal file
143
code/base_game/cmake-build-debug/base_game.cbp
Normal file
|
@ -0,0 +1,143 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6"/>
|
||||
<Project>
|
||||
<Option title="base_game"/>
|
||||
<Option makefile_is_custom="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Option virtualFolders="CMake Files\;"/>
|
||||
<Build>
|
||||
<Target title="all">
|
||||
<Option working_dir="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 all"/>
|
||||
<CompileFile command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="base_game">
|
||||
<Option output="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/base_game.objlib" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="2"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../include/c++/8.2.0"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../include/c++/8.2.0/x86_64-w64-mingw32"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../include/c++/8.2.0/backward"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/include"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../include"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/include-fixed"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 base_game"/>
|
||||
<CompileFile command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="base_game/fast">
|
||||
<Option output="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/CMakeFiles/base_game.dir/base_game.objlib" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="2"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../include/c++/8.2.0"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../include/c++/8.2.0/x86_64-w64-mingw32"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../include/c++/8.2.0/backward"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/include"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../include"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/include-fixed"/>
|
||||
<Add directory="C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 base_game/fast"/>
|
||||
<CompileFile command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="edit_cache">
|
||||
<Option working_dir="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 edit_cache"/>
|
||||
<CompileFile command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="rebuild_cache">
|
||||
<Option working_dir="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 rebuild_cache"/>
|
||||
<CompileFile command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="C:/msys64/mingw64/bin/mingw32-make.exe -f "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_collision.cpp">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_collision.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_list.cpp">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_list.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_local.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_misc.cpp">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_misc.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_oums.cpp">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_oums.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_panimate.c">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_pmove.cpp">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_public.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/bg_slidemove.cpp">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/q_math.cpp">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/q_math.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/q_shared.cpp">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/q_shared.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/surfaceflags.h">
|
||||
<Option target="base_game"/>
|
||||
</Unit>
|
||||
<Unit filename="C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\"/>
|
||||
</Unit>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
44
code/base_game/cmake-build-debug/cmake_install.cmake
Normal file
44
code/base_game/cmake-build-debug/cmake_install.cmake
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Install script for directory: C:/Users/Walter/Source/Repos/rpgxEF/code/base_game
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/base_game")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
if(CMAKE_INSTALL_COMPONENT)
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||
else()
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||
endif()
|
||||
|
||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
||||
file(WRITE "C:/Users/Walter/Source/Repos/rpgxEF/code/base_game/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}"
|
||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
7
code/common/CMakeLists.txt
Normal file
7
code/common/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
file(GLOB COMMON_SRC "*.h" "*.c" "*.cpp")
|
||||
|
||||
add_library(common OBJECT ${COMMON_SRC})
|
27
code/common/Color.h
Normal file
27
code/common/Color.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
#pragma once
|
||||
|
||||
#include <base_game/q_shared.h>
|
||||
|
||||
namespace common {
|
||||
class Color {
|
||||
public:
|
||||
constexpr Color() noexcept : r{0.f}, g{0.f}, b{0.f}, a{0.f} {}
|
||||
|
||||
template<typename R, typename G, typename B, typename A, typename = std::enable_if_t<
|
||||
std::is_convertible_v<R, float> && std::is_convertible_v<G, float> && std::is_convertible_v<B, float> &&
|
||||
std::is_convertible_v<A, float>>>
|
||||
constexpr explicit Color(R _r, G _g = 0, B _b = 0, A _a = 0) noexcept :
|
||||
r{_r}, g{_g}, b{_b}, a{_a} {}
|
||||
|
||||
union {
|
||||
vec4_t values{};
|
||||
struct {
|
||||
float r;
|
||||
float g;
|
||||
float b;
|
||||
float a;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
69
code/common/ColorTable.h
Normal file
69
code/common/ColorTable.h
Normal file
|
@ -0,0 +1,69 @@
|
|||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include "Color.h"
|
||||
|
||||
namespace common {
|
||||
constexpr std::array<Color, 51> ColorTable {
|
||||
Color{ 0, 0, 0, 0 }, /* CT_NONE */
|
||||
Color{ 0, 0, 0, 1 }, /* CT_BLACK */
|
||||
Color{ 1, 0, 0, 1 }, /* CT_RED */
|
||||
Color{ 0, 1, 0, 1 }, /* CT_GREEN */
|
||||
Color{ 0, 0, 1, 1 }, /* CT_BLUE */
|
||||
Color{ 1, 1, 0, 1 }, /* CT_YELLOW */
|
||||
Color{ 1, 0, 1, 1 }, /* CT_MAGENTA */
|
||||
Color{ 0, 1, 1, 1 }, /* CT_CYAN */
|
||||
Color{ 0.071f, 0.271f, 0.29f, 1 }, /* CT_TEAL */
|
||||
Color{ 0.529f, 0.373f, 0.017f, 1 },/* CT_GOLD */
|
||||
Color{ 1, 1, 1, 1 }, /* CT_WHITE */
|
||||
Color{ 0.75f, 0.75f, 0.75f, 1 }, /* CT_LTGREY */
|
||||
Color{ 0.50f, 0.50f, 0.50f, 1 }, /* CT_MDGREY */
|
||||
Color{ 0.25f, 0.25f, 0.25f, 1 }, /* CT_DKGREY */
|
||||
Color{ 0.15f, 0.15f, 0.15f, 1 }, /* CT_DKGREY2 */
|
||||
|
||||
Color{ 0.688f, 0.797f, 1, 1 }, /* CT_VLTORANGE -- needs values */
|
||||
Color{ 0.688f, 0.797f, 1, 1 }, /* CT_LTORANGE */
|
||||
Color{ 0.620f, 0.710f, 0.894f, 1 },/* CT_DKORANGE */
|
||||
Color{ 0.463f, 0.525f, 0.671f, 1 },/* CT_VDKORANGE */
|
||||
|
||||
Color{ 0.616f, 0.718f, 0.898f, 1 },/* CT_VLTBLUE1 */
|
||||
Color{ 0.286f, 0.506f, 0.898f, 1 },/* CT_LTBLUE1 */
|
||||
Color{ 0.082f, 0.388f, 0.898f, 1 },/* CT_DKBLUE1 */
|
||||
Color{ 0.063f, 0.278f, 0.514f, 1 },/* CT_VDKBLUE1 */
|
||||
|
||||
Color{ 0.302f, 0.380f, 0.612f, 1 },/* CT_VLTBLUE2 -- needs values */
|
||||
Color{ 0.196f, 0.314f, 0.612f, 1 },/* CT_LTBLUE2 */
|
||||
Color{ 0.060f, 0.227f, 0.611f, 1 },/* CT_DKBLUE2 */
|
||||
Color{ 0.043f, 0.161f, 0.459f, 1 },/* CT_VDKBLUE2 */
|
||||
|
||||
Color{ 0.082f, 0.388f, 0.898f, 1 },/* CT_VLTBROWN1 -- needs values */
|
||||
Color{ 0.082f, 0.388f, 0.898f, 1 },/* CT_LTBROWN1 */
|
||||
Color{ 0.078f, 0.320f, 0.813f, 1 },/* CT_DKBROWN1 */
|
||||
Color{ 0.060f, 0.227f, 0.611f, 1 },/* CT_VDKBROWN1 */
|
||||
|
||||
Color{ 1, 0.784f, 0.365f, 1 }, /* CT_VLTGOLD1 -- needs values */
|
||||
Color{ 1, 0.706f, 0.153f, 1 }, /* CT_LTGOLD1 */
|
||||
Color{ 0.733f, 0.514f, 0.086f, 1 },/* CT_DKGOLD1 */
|
||||
Color{ 0.549f, 0.384f, 0.063f, 1 },/* CT_VDKGOLD1 */
|
||||
|
||||
Color{ 0.688f, 0.797f, 1, 1 }, /* CT_VLTPURPLE1 -- needs values */
|
||||
Color{ 0.688f, 0.797f, 1, 1 }, /* CT_LTPURPLE1 */
|
||||
Color{ 0.313f, 0.578f, 1, 1 }, /* CT_DKPURPLE1 */
|
||||
Color{ 0.031f, 0.110f, 0.341f, 1 },/* CT_VDKPURPLE1 */
|
||||
|
||||
Color{ 0.688f, 0.797f, 1, 1 }, /* CT_VLTPURPLE2 -- needs values */
|
||||
Color{ 0.688f, 0.797f, 1, 1 }, /* CT_LTPURPLE2 */
|
||||
Color{ 0.688f, 0.797f, 1, 1 }, /* CT_DKPURPLE2 */
|
||||
Color{ 0.031f, 0.110f, 0.341f, 1 },/* CT_VDKPURPLE2 */
|
||||
|
||||
Color{ 0.686f, 0.808f, 0.1f, 1 }, /* CT_VLTPURPLE3 */
|
||||
Color{ 0.188f, 0.494f, 1, 1 }, /* CT_LTPURPLE3 */
|
||||
Color{ 0.094f, 0.471f, 1, 1 }, /* CT_DKPURPLE3 */
|
||||
Color{ 0.067f, 0.325f, 0.749f, 1 },/* CT_VDKPURPLE3 */
|
||||
|
||||
Color{ 1, 0.612f, 0.325f, 1 }, /* CT_VLTRED1 */
|
||||
Color{ 1, 0.478f, 0.098f, 1 }, /* CT_LTRED1 */
|
||||
Color{ 1, 0.438f, 0, 1 }, /* CT_DKRED1 */
|
||||
Color{ 0.784f, 0.329f, 0, 1 }, /* CT_VDKRED1 */
|
||||
};
|
||||
}
|
23
code/common/Point2d.h
Normal file
23
code/common/Point2d.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <type_traits>
|
||||
|
||||
namespace common {
|
||||
|
||||
template<typename T>
|
||||
class Point2d {
|
||||
public:
|
||||
template<typename A, typename B, typename = std::enable_if_t<std::is_convertible_v<A, T> && std::is_convertible_v<B, T>>>
|
||||
constexpr explicit Point2d(A _x = 0, B _y = 0) : x{T{_x}}, y{T{_y}} {}
|
||||
|
||||
T x;
|
||||
T y;
|
||||
};
|
||||
|
||||
using Point2dI = Point2d<int32_t>;
|
||||
using Point2dF = Point2d<float>;
|
||||
using Point2dD = Point2d<double>;
|
||||
|
||||
}
|
||||
|
30
code/common/Rectangle.h
Normal file
30
code/common/Rectangle.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <type_traits>
|
||||
|
||||
namespace common {
|
||||
|
||||
template<typename T>
|
||||
class Rectangle {
|
||||
public:
|
||||
template<typename A, typename B, typename C, typename D, typename = std::enable_if_t<
|
||||
std::is_convertible_v<A, T> && std::is_convertible_v<B, T> && std::is_convertible_v<C, T> &&
|
||||
std::is_convertible_v<D, T>>>
|
||||
constexpr explicit
|
||||
Rectangle(A _left = 0, B _top = 0, C _right = 0, D _bottom = 0) : left{_left}, top{_top}, right{_right},
|
||||
bottom{_bottom} {}
|
||||
|
||||
constexpr T width() const { return right - left; }
|
||||
constexpr T height() const { return bottom - top; }
|
||||
|
||||
T left;
|
||||
T top;
|
||||
T right;
|
||||
T bottom;
|
||||
};
|
||||
|
||||
using RectangleI = Rectangle<int32_t>;
|
||||
using RectangleF = Rectangle<float>;
|
||||
using RectangleD = Rectangle<double>;
|
||||
}
|
18
code/common/string.h
Normal file
18
code/common/string.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <algorithm>
|
||||
|
||||
namespace common {
|
||||
inline bool icompare(std::string_view a, std::string_view b) {
|
||||
return std::equal(a.begin(), a.end(), b.begin(), b.end(),
|
||||
[](auto ca, auto cb) { return ca == cb || std::toupper(ca) == std::toupper(ca); });
|
||||
}
|
||||
|
||||
inline auto ifind(std::string_view haystack, std::string_view needle) {
|
||||
auto it = std::search(haystack.begin(), haystack.end(), needle.begin(), needle.end(),
|
||||
[](auto ch1, auto ch2) { return ch1 == ch2 || std::toupper(ch1) == std::toupper(ch2); });
|
||||
return std::distance(haystack.begin(), it);
|
||||
}
|
||||
}
|
34
code/game/CMakeLists.txt
Normal file
34
code/game/CMakeLists.txt
Normal file
|
@ -0,0 +1,34 @@
|
|||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
|
||||
set(ARCH "x86_64")
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64")
|
||||
set(ARCH "x86_64")
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64")
|
||||
if (CMAKE_CL_64)
|
||||
set(ARCH "x86_64")
|
||||
else ()
|
||||
set(ARCH "x86")
|
||||
endif ()
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86")
|
||||
set(ARCH "x86")
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386")
|
||||
set(ARCH "x86")
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i686")
|
||||
set(ARCH "x86")
|
||||
else ()
|
||||
message(FATAL_ERROR "Unknown processor:" ${CMAKE_SYSTEM_PROCESSOR})
|
||||
endif ()
|
||||
|
||||
set(GAME_LIB_NAME "qagame${ARCH}")
|
||||
|
||||
file(GLOB_RECURSE GAME_SRC "*.h" "*.c" "*.cpp")
|
||||
|
||||
|
||||
add_library(${GAME_LIB_NAME} SHARED ${GAME_SRC})
|
||||
target_link_libraries(${GAME_LIB_NAME} base_game)
|
||||
target_include_directories(${GAME_LIB_NAME} PUBLIC ../lua/include ../json/include)
|
||||
target_compile_options(${GAME_LIB_NAME} PUBLIC -fpermissive)
|
||||
set_target_properties(${GAME_LIB_NAME} PROPERTIES PREFIX "")
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -225,7 +225,7 @@ int32_t AI_main_BotAIGetSnapshotEntity(int32_t clientNum, int32_t sequence, enti
|
|||
BotAI_BotInitialChat
|
||||
==================
|
||||
*/
|
||||
void QDECL AI_main_BotAIInitialChat(bot_state_t* bs, char* type, ...) {
|
||||
void QDECL AI_main_BotAIInitialChat(bot_state_t* bs, const char* type, ...) {
|
||||
int32_t i = 0;
|
||||
int32_t mcontext = 0;
|
||||
va_list ap;
|
||||
|
|
|
@ -237,7 +237,7 @@ void AI_main_BotEntityInfo(int32_t entnum, aas_entityinfo_t *info);
|
|||
// from the game source
|
||||
void QDECL AI_main_BotAIPrint(int32_t type, char *fmt, ...) __attribute__((format(printf, 2, 3)));
|
||||
|
||||
void QDECL QDECL AI_main_BotAIInitialChat(bot_state_t *bs, char *type, ...);
|
||||
void QDECL QDECL AI_main_BotAIInitialChat(bot_state_t *bs, const char *type, ...);
|
||||
|
||||
void AI_main_BotAITrace(bsp_trace_t *bsptrace, vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int32_t passent, int32_t contentmask);
|
||||
|
||||
|
@ -249,47 +249,47 @@ int32_t AI_main_BotAIGetSnapshotEntity(int32_t clientNum, int32_t sequence, enti
|
|||
|
||||
int32_t AI_main_BotTeamLeader(bot_state_t *bs);
|
||||
|
||||
/**
|
||||
* Setup bot AI.
|
||||
*
|
||||
* \param restart Determines if this is a map restart.
|
||||
*/
|
||||
int32_t AI_main_BotAISetup(int32_t restart);
|
||||
/**
|
||||
* Setup bot AI.
|
||||
*
|
||||
* \param restart Determines if this is a map restart.
|
||||
*/
|
||||
int32_t AI_main_BotAISetup(int32_t restart);
|
||||
|
||||
/**
|
||||
* Shutdown bot AI.
|
||||
*
|
||||
* \param restart Determines if this is a map restart.
|
||||
*/
|
||||
/**
|
||||
* Shutdown bot AI.
|
||||
*
|
||||
* \param restart Determines if this is a map restart.
|
||||
*/
|
||||
int32_t AI_main_BotAIShutdown(int32_t restart);
|
||||
|
||||
/**
|
||||
* Load map in bot lib.
|
||||
*
|
||||
* \param restart Determines if this is a map restart.
|
||||
*/
|
||||
int32_t AI_main_BotAILoadMap(int32_t restart);
|
||||
/**
|
||||
* Load map in bot lib.
|
||||
*
|
||||
* \param restart Determines if this is a map restart.
|
||||
*/
|
||||
int32_t AI_main_BotAILoadMap(int32_t restart);
|
||||
|
||||
/**
|
||||
* Setup bot AI for client.
|
||||
*
|
||||
* \param client client number
|
||||
* \param settings bot settings
|
||||
*/
|
||||
int32_t AI_main_BotAISetupClient(int32_t client, bot_settings_t* settings);
|
||||
|
||||
/**
|
||||
* Shutdown bot client.
|
||||
*
|
||||
* \param client client number
|
||||
*/
|
||||
int32_t AI_main_BotAIShutdownClient(int32_t client);
|
||||
|
||||
/**
|
||||
* Star frame.
|
||||
*
|
||||
* \param time current time
|
||||
*/
|
||||
/**
|
||||
* Setup bot AI for client.
|
||||
*
|
||||
* \param client client number
|
||||
* \param settings bot settings
|
||||
*/
|
||||
int32_t AI_main_BotAISetupClient(int32_t client, bot_settings_t* settings);
|
||||
|
||||
/**
|
||||
* Shutdown bot client.
|
||||
*
|
||||
* \param client client number
|
||||
*/
|
||||
int32_t AI_main_BotAIShutdownClient(int32_t client);
|
||||
|
||||
/**
|
||||
* Star frame.
|
||||
*
|
||||
* \param time current time
|
||||
*/
|
||||
int32_t AI_main_BotAIStartFrame(int32_t time);
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,161 +0,0 @@
|
|||
#ifndef BG_LEX_H
|
||||
#define BG_LEX_H
|
||||
|
||||
#include "../base_game/q_shared.h"
|
||||
|
||||
#define LEX_DEBUG
|
||||
#ifdef LEX_DEBUG
|
||||
extern char *yyget_text (void* yyscanner);
|
||||
#endif
|
||||
|
||||
#ifndef YY_TYPEDEF_YY_SCANNER_T
|
||||
#define YY_TYPEDEF_YY_SCANNER_T
|
||||
typedef void* yyscan_t;
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
LSYM_OBRACE, /* ( */
|
||||
LSYM_OBRACEC, /* { */
|
||||
LSYM_OBRACESQ, /* [ */
|
||||
LSYM_CBRACE, /* ) */
|
||||
LSYM_CBRACEC, /* } */
|
||||
LSYM_CBRACESQ, /* ] */
|
||||
LSYM_TRUE,
|
||||
LSYM_FALSE,
|
||||
LSYM_SERVER_CHANGE_CONFIG,
|
||||
LSYM_SERVER,
|
||||
LSYM_HOLODECK_DATA,
|
||||
LSYM_PROGRAM,
|
||||
LSYM_MAP_CHANGE_CONFIG,
|
||||
LSYM_MAP,
|
||||
LSYM_LOCATIONS_LIST,
|
||||
LSYM_LOCATIONS_LIST_2,
|
||||
LSYM_MESSAGE,
|
||||
LSYM_CONSOLE_NAME,
|
||||
LSYM_FORMAL_NAME,
|
||||
LSYM_RADAR_COLOR,
|
||||
LSYM_ICON_COLOR,
|
||||
LSYM_NULL,
|
||||
LSYM_MODEL_SKIN,
|
||||
LSYM_WEAPONS,
|
||||
LSYM_HAS_RANKS,
|
||||
LSYM_TEAL,
|
||||
LSYM_MEDICAL,
|
||||
LSYM_GOLD,
|
||||
LSYM_GREEN,
|
||||
LSYM_MARINE,
|
||||
LSYM_RED,
|
||||
LSYM_WP_NULL,
|
||||
LSYM_WP_NULL_HANDS,
|
||||
LSYM_WP_TRICORDER,
|
||||
LSYM_WP_PADD,
|
||||
LSYM_WP_COFFEE,
|
||||
LSYM_WP_PHASER,
|
||||
LSYM_WP_COMPRESSION_RIFLE,
|
||||
LSYM_WP_TR116,
|
||||
LSYM_WP_GRENADE_LAUNCHER,
|
||||
LSYM_WP_QUANTUM_BURST,
|
||||
LSYM_WP_MEDKIT,
|
||||
LSYM_WP_DISRUPTOR,
|
||||
LSYM_WP_VOYAGER_HYPO,
|
||||
LSYM_WP_DERMAL_REGEN,
|
||||
LSYM_WP_TOOLKIT,
|
||||
LSYM_WP_HYPERSPANNER,
|
||||
LSYM_WP_0,
|
||||
LSYM_WP_1,
|
||||
LSYM_WP_2,
|
||||
LSYM_WP_3,
|
||||
LSYM_WP_4,
|
||||
LSYM_WP_5,
|
||||
LSYM_WP_6,
|
||||
LSYM_WP_7,
|
||||
LSYM_WP_8,
|
||||
LSYM_WP_9,
|
||||
LSYM_WP_10,
|
||||
LSYM_WP_11,
|
||||
LSYM_WP_12,
|
||||
LSYM_WP_13,
|
||||
LSYM_WP_14,
|
||||
LSYM_WP_15,
|
||||
LSYM_ADMIN,
|
||||
LSYM_BORG,
|
||||
LSYM_N00B,
|
||||
LSYM_NO_SHOW,
|
||||
LSYM_MENU_TEXTURE_DEF,
|
||||
LSYM_MENU_TEXTURE_RED,
|
||||
LSYM_MENU_TEXTURE_TEAL,
|
||||
LSYM_MENU_TEXTURE_GOLD,
|
||||
LSYM_MENU_TEXTURE_GREEN,
|
||||
LSYM_BOLT_MODEL,
|
||||
LSYM_BOLT_SHADER,
|
||||
LSYM_ADMIRAL_RANK,
|
||||
LSYM_SEMICOLON,
|
||||
LSYM_WCONF_PHASER,
|
||||
LSYM_WCONF_CRIFLE,
|
||||
LSYM_WCONF_DISRUPTOR,
|
||||
LSYM_WCONF_GRENADE,
|
||||
LSYM_WCONF_TR116,
|
||||
LSYM_WCONF_QUANTUM,
|
||||
LSYM_WCONF_HYPERSPANNER,
|
||||
LSYM_WCONF_PRIMARY,
|
||||
LSYM_WCONF_SECONDARY,
|
||||
LSYM_WCONF_RANGE,
|
||||
LSYM_WCONF_DAMAGE,
|
||||
LSYM_WCONF_VARIATION,
|
||||
LSYM_WCONF_RADIUS,
|
||||
LSYM_WCONF_SIZE,
|
||||
LSYM_WCONF_TIME,
|
||||
LSYM_WCONF_VELOCITY,
|
||||
LSYM_WCONF_SPLASH,
|
||||
LSYM_WCONF_RATE,
|
||||
LSYM_WCONF_THINK,
|
||||
LSYM_WCONF_SEARCH,
|
||||
LSYM_WCONF_DISTANCE,
|
||||
LSYM_POINT,
|
||||
|
||||
LSYM_UNKNOWN
|
||||
} bgLexSymbol;
|
||||
|
||||
typedef enum {
|
||||
LMT_EOF,
|
||||
LMT_STRING = 1,
|
||||
LMT_INT,
|
||||
LMT_DOUBLE,
|
||||
LMT_VECTOR3,
|
||||
LMT_VECTOR4,
|
||||
LMT_SYMBOL,
|
||||
LMT_IGNORE
|
||||
} bgLexMorphemType;
|
||||
|
||||
typedef struct bgLexMorphemData_s bgLexMorphemData;
|
||||
struct bgLexMorphemData_s {
|
||||
char* str;
|
||||
bgLexSymbol symbol;
|
||||
int numInteger;
|
||||
double numDouble;
|
||||
vec3_t vector3;
|
||||
vec4_t vector4;
|
||||
};
|
||||
|
||||
typedef struct bgLexMorphem_s bgLexMorphem;
|
||||
struct bgLexMorphem_s {
|
||||
bgLexMorphemType type;
|
||||
bgLexMorphemData data;
|
||||
int line;
|
||||
int column;
|
||||
};
|
||||
|
||||
typedef struct bgLex_s bgLex;
|
||||
struct bgLex_s {
|
||||
yyscan_t lex;
|
||||
bgLexMorphem morphem;
|
||||
void* buf;
|
||||
};
|
||||
|
||||
bgLex* bgLex_create(char* data);
|
||||
void bgLex_destroy(/*@only@*/ /*@out@*/ /*@null@*/ bgLex* lex);
|
||||
int bgLex_lex(bgLex* lex);
|
||||
bgLexSymbol bgLex_textToSymbol(char* text);
|
||||
void bgLexFatalError(const char* msg, void* lex);
|
||||
|
||||
#endif /* BG_LEX_H */
|
1164
code/game/bg_lex.l
1164
code/game/bg_lex.l
File diff suppressed because it is too large
Load diff
|
@ -1,12 +0,0 @@
|
|||
project = "RPG-X 2.3 Lua Documentation Server Side"
|
||||
format = "markdown"
|
||||
file = {'lua_cinematic.c',
|
||||
'lua_cvar.c',
|
||||
'lua_entity.c',
|
||||
'lua_game.c',
|
||||
'lua_mover.c',
|
||||
'lua_qmath.c',
|
||||
'lua_sound.c',
|
||||
'lua_trace.c',
|
||||
'lua_vector.c',
|
||||
'lua_weapons.c' }
|
|
@ -1,24 +0,0 @@
|
|||
Copyright (c) 2012 Walter Julius Hennecke, Ubergames
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including without
|
||||
limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to
|
||||
whom the Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
|
||||
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
|
||||
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -1,28 +0,0 @@
|
|||
Entity Definitions Parser
|
||||
|
||||
Required tools:
|
||||
Linux:
|
||||
* flex
|
||||
Windows:
|
||||
* mingw
|
||||
|
||||
Building:
|
||||
Linux:
|
||||
flex quake.l
|
||||
gcc lex.yy.c -o entityDefParser -lfl
|
||||
Mac:
|
||||
flex quake.l
|
||||
gcc lex.yy.c -o entityDefParser -lfl
|
||||
Windows:
|
||||
flex quake.l
|
||||
gcc lex.yy.c -o entityDefParser /lib/libfl.a
|
||||
|
||||
Usage:
|
||||
./entityDefParser <code file> <output file>
|
||||
|
||||
Example:
|
||||
./entityDefParser game/g_mover.c hm_entities.def
|
||||
./entityDefParser game/g_fx.c
|
||||
|
||||
Will produce a def file including all entity definitions from
|
||||
g_mover.c and g_fx.c.
|
|
@ -1,91 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2012 Walter Julius Hennecke, Ubergames
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including without
|
||||
limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to
|
||||
whom the Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
|
||||
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
|
||||
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
%{
|
||||
#include <stdio.h>
|
||||
|
||||
FILE *in, *out;
|
||||
|
||||
#define YY_DECL int yylex()
|
||||
%}
|
||||
|
||||
%x C_QUAKED
|
||||
%%
|
||||
"/*QUAKED" { BEGIN(C_QUAKED); fprintf(out, "/*QUAKED"); }
|
||||
<C_QUAKED>"*/" { BEGIN(INITIAL); fprintf(out, "*/\n\n"); }
|
||||
<C_QUAKED>"\t" { fprintf(out, "\t"); }
|
||||
<C_QUAKED>"\n" { fprintf(out, "\n"); }
|
||||
<C_QUAKED>. { fprintf(out, "%s", yytext); }
|
||||
[\n] ;
|
||||
. ;
|
||||
%%
|
||||
|
||||
main(int argc, char *argv[]) {
|
||||
char *buf;
|
||||
long len;
|
||||
|
||||
if(argc < 2) {
|
||||
printf("Usage: %s <cfiles> <output file>\n", argv[0]);
|
||||
}
|
||||
|
||||
in = fopen(argv[1], "r");
|
||||
if(!in) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* out = fopen(argv[2], "r");
|
||||
if(out) {
|
||||
fseek(out, 0, SEEK_END);
|
||||
len = ftell(out);
|
||||
fseek(out, 0, SEEK_SET);
|
||||
|
||||
buf = (char *)malloc(len+1);
|
||||
if(!buf) {
|
||||
fclose(out);
|
||||
return;
|
||||
}
|
||||
fgets(buf, len, out);
|
||||
fclose(out);
|
||||
out = NULL;
|
||||
}
|
||||
|
||||
printf("%s\n", buf); */
|
||||
|
||||
out = fopen(argv[2], "a");
|
||||
if(!out) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*if(buf != NULL) {
|
||||
fprintf(out, "%s", buf);
|
||||
free(buf);
|
||||
}*/
|
||||
|
||||
yyin = in;
|
||||
|
||||
yylex();
|
||||
}
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
16433
code/game/g_cmds.cpp
16433
code/game/g_cmds.cpp
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
4328
code/game/g_local.h
4328
code/game/g_local.h
File diff suppressed because it is too large
Load diff
5324
code/game/g_main.cpp
5324
code/game/g_main.cpp
File diff suppressed because it is too large
Load diff
|
@ -321,7 +321,7 @@ void trap_EA_Say(int client, char *str) {
|
|||
syscall( BOTLIB_EA_SAY, client, str );
|
||||
}
|
||||
|
||||
void trap_EA_SayTeam(int client, char *str) {
|
||||
void trap_EA_SayTeam(int client, const char *str) {
|
||||
syscall( BOTLIB_EA_SAY_TEAM, client, str );
|
||||
}
|
||||
|
||||
|
@ -489,7 +489,7 @@ int trap_BotNumConsoleMessages(int chatstate) {
|
|||
return syscall( BOTLIB_AI_NUM_CONSOLE_MESSAGE, chatstate );
|
||||
}
|
||||
|
||||
void trap_BotInitialChat(int chatstate, char *type, int mcontext, char *var0, char *var1, char *var2, char *var3, char *var4, char *var5, char *var6, char *var7 ) {
|
||||
void trap_BotInitialChat(int chatstate, const char *type, int mcontext, char *var0, char *var1, char *var2, char *var3, char *var4, char *var5, char *var6, char *var7 ) {
|
||||
syscall( BOTLIB_AI_INITIAL_CHAT, chatstate, type, mcontext, var0, var1, var2, var3, var4, var5, var6, var7 );
|
||||
}
|
||||
|
||||
|
|
|
@ -365,7 +365,7 @@ int trap_AAS_PredictClientMovement(void* move, int entnum, vec3_t origin, int pr
|
|||
|
||||
void trap_EA_Say(int client, char* str);
|
||||
|
||||
void trap_EA_SayTeam(int client, char* str);
|
||||
void trap_EA_SayTeam(int client, const char* str);
|
||||
|
||||
void trap_EA_SayClass(int client, char* str);
|
||||
|
||||
|
@ -447,7 +447,7 @@ int trap_BotNextConsoleMessage(int chatstate, void* cm);
|
|||
|
||||
int trap_BotNumConsoleMessages(int chatstate);
|
||||
|
||||
void trap_BotInitialChat(int chatstate, char* type, int mcontext, char* var0, char* var1, char* var2, char* var3, char* var4, char* var5, char* var6, char* var7);
|
||||
void trap_BotInitialChat(int chatstate, const char* type, int mcontext, char* var0, char* var1, char* var2, char* var3, char* var4, char* var5, char* var6, char* var7);
|
||||
|
||||
int trap_BotNumInitialChats(int chatstate, char* type);
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
2142
code/ui/Atoms.cpp
Normal file
2142
code/ui/Atoms.cpp
Normal file
File diff suppressed because it is too large
Load diff
984
code/ui/Atoms.h
Normal file
984
code/ui/Atoms.h
Normal file
|
@ -0,0 +1,984 @@
|
|||
#pragma once
|
||||
|
||||
#include "ui_local.h"
|
||||
#include "ui_logger.h"
|
||||
#include <base_game/bg_misc.h>
|
||||
#include <qcommon/stv_version.h>
|
||||
#include <common/Point2d.h>
|
||||
#include <array>
|
||||
#include <common/Rectangle.h>
|
||||
#include <common/Color.h>
|
||||
|
||||
namespace ui {
|
||||
class Atoms {
|
||||
protected:
|
||||
static inline constexpr int32_t PROPB_GAP_WIDTH = 4;
|
||||
static inline constexpr int32_t PROPB_SPACE_WIDTH = 12;
|
||||
static inline constexpr int32_t PROPB_HEIGHT = 32;
|
||||
static inline constexpr int32_t CHARMAX = 256;
|
||||
static inline constexpr int32_t FONT_BUFF_LENGTH = 20000;
|
||||
|
||||
struct MenuFrame {
|
||||
static inline bool initialized;
|
||||
qhandle_t cornerUpper;
|
||||
qhandle_t cornerUpper2;
|
||||
qhandle_t cornerLower;
|
||||
};
|
||||
|
||||
static inline MenuFrame s_menuFrame;
|
||||
|
||||
static inline constexpr auto MAXMENUTEXT = 15000;
|
||||
static inline constexpr auto MAXBUTTONTEXT = 50000;
|
||||
static inline char MenuText[MAXMENUTEXT];
|
||||
static inline char ButtonText[MAXBUTTONTEXT];
|
||||
static inline constexpr std::string_view menuEmptyLine = " ";
|
||||
|
||||
public:
|
||||
static void SecurityCodeSetup();
|
||||
|
||||
static void SecurityFeedback(bool result);
|
||||
|
||||
static std::string LanguageFilename(std::string_view baseName, std::string_view baseExtension);
|
||||
|
||||
static void InitSpinControl(menulist_s *spincontrol);
|
||||
|
||||
static void LoadButtonText();
|
||||
|
||||
static void ParseButtonText();
|
||||
|
||||
static void LoadMenuText();
|
||||
|
||||
static void ParseMenuText();
|
||||
|
||||
static void MenuFrame2(menuframework_s *menu);
|
||||
|
||||
static void MenuFrame(menuframework_s *menu);
|
||||
|
||||
static bool MenuBottomLineEnd_Graphics(std::string_view string, common::Color color);
|
||||
|
||||
static void FrameBottom_Graphics();
|
||||
|
||||
static void FrameTop_Graphics(menuframework_s *menu);
|
||||
|
||||
static void MenuFrame_Cache();
|
||||
|
||||
static void PrecacheMenuGraphics(menugraphics_s *menuGraphics, int32_t maxI);
|
||||
|
||||
static void PrintMenuGraphics(menugraphics_s *menuGraphics, int32_t maxI);
|
||||
|
||||
static void
|
||||
DrawNumField(const common::Point2dI &position, size_t width, int32_t value, size_t charWidth,
|
||||
size_t charHeight);
|
||||
|
||||
static bool CursorInRect(const common::RectangleI &rect);
|
||||
|
||||
static void Refresh(int32_t realtime);
|
||||
|
||||
static void DrawRect(float x, float y, float width, float height, const float *color);
|
||||
|
||||
static void FillRect(float x, float y, float width, float height, const float *color);
|
||||
|
||||
static void DrawHandlePic(float x, float y, float w, float h, qhandle_t hShader);
|
||||
|
||||
static void DrawHandleStretchPic(float x, float y, float w, float h, float s0, float t0, float s1, float t1,
|
||||
qhandle_t hShader);
|
||||
|
||||
|
||||
static void DrawNamedPic(float x, float y, float width, float height, const char *picname);
|
||||
|
||||
static void AdjustFrom640(float *x, float *y, float *w, float *h);
|
||||
|
||||
static void Init();
|
||||
|
||||
static int32_t PopulateClassSetArray(char *classSets[]);
|
||||
|
||||
static int32_t GetClassSets();
|
||||
|
||||
static int32_t PopulateClassArray(char *classes[]);
|
||||
|
||||
static int32_t GetRankSets();
|
||||
|
||||
static int32_t PopulateRankSetArray(char *rankSets[]);
|
||||
|
||||
static void InitRanksData(char *ranksName);
|
||||
|
||||
static int32_t PopulateRanksArray(char *ranks[]);
|
||||
|
||||
static int32_t InitClassData(char *fileName);
|
||||
|
||||
static void LoadFonts();
|
||||
|
||||
static bool IsWidescreen();
|
||||
|
||||
static constexpr float clampCvar(float min, float max, float value);
|
||||
|
||||
static void pushMenu(menuframework_s *menu);
|
||||
|
||||
static void PopMenu();
|
||||
|
||||
static void ForceMenuOff();
|
||||
|
||||
static void LerpColor(vec4_t a, vec4_t b, vec4_t c, float t);
|
||||
|
||||
static void DrawBannerString2(int32_t x, int32_t y, const char *str, vec4_t color);
|
||||
|
||||
static void DrawBannerString(int32_t x, int32_t y, const char *str, int32_t style, vec4_t color);
|
||||
|
||||
static size_t ProportionalStringWidth(std::string_view str, int32_t style);
|
||||
|
||||
static void
|
||||
DrawProportionalString2(common::Point2dI pos, std::string_view str, common::Color color, int32_t style,
|
||||
qhandle_t charset);
|
||||
|
||||
static float ProportionalSizeScale(int32_t style);
|
||||
|
||||
static void
|
||||
DrawProportionalString(common::Point2dI pos, std::string_view str, int32_t style, common::Color color);
|
||||
|
||||
static void DrawString2(int32_t x, int32_t y, const char *str, vec4_t color, int32_t charw, int32_t charh);
|
||||
|
||||
static void DrawString(int32_t x, int32_t y, const char *str, int32_t style, vec4_t color, qboolean highRes);
|
||||
|
||||
static void DrawChar(int32_t x, int32_t y, int32_t ch, int32_t style, vec4_t color);
|
||||
|
||||
static qboolean IsFullscreen();
|
||||
|
||||
static void NeedCDAction(qboolean result);
|
||||
|
||||
static void SetActiveMenu(uiMenuCommand_t menu);
|
||||
|
||||
static void KeyEvent(int32_t key);
|
||||
|
||||
static void MouseEvent(int32_t dx, int32_t dy);
|
||||
|
||||
static char *Argv(int32_t arg);
|
||||
|
||||
static char *CvarVariableString(const char *var_name);
|
||||
|
||||
static void Cache();
|
||||
|
||||
static qboolean ConsoleCommand();
|
||||
|
||||
static void Shutdown();
|
||||
|
||||
static char *ParseFontParms(char *buffer, int32_t propArray[CHARMAX][3]);
|
||||
|
||||
protected:
|
||||
static inline constexpr int32_t propMapB[26][3]{
|
||||
{11, 12, 33},
|
||||
{49, 12, 31},
|
||||
{85, 12, 31},
|
||||
{120, 12, 30},
|
||||
{156, 12, 21},
|
||||
{183, 12, 21},
|
||||
{207, 12, 32},
|
||||
|
||||
{13, 55, 30},
|
||||
{49, 55, 13},
|
||||
{66, 55, 29},
|
||||
{101, 55, 31},
|
||||
{135, 55, 21},
|
||||
{158, 55, 40},
|
||||
{204, 55, 32},
|
||||
|
||||
{12, 97, 31},
|
||||
{48, 97, 31},
|
||||
{82, 97, 30},
|
||||
{118, 97, 30},
|
||||
{153, 97, 30},
|
||||
{185, 97, 25},
|
||||
{213, 97, 30},
|
||||
|
||||
{11, 139, 32},
|
||||
{42, 139, 51},
|
||||
{93, 139, 32},
|
||||
{126, 139, 31},
|
||||
{158, 139, 25}
|
||||
};
|
||||
|
||||
static inline int32_t propMapBig[CHARMAX][3];
|
||||
static inline int32_t propMap[CHARMAX][3];
|
||||
static inline int32_t propMapTiny[CHARMAX][3];
|
||||
|
||||
static inline constexpr int32_t specialTinyPropChars[CHARMAX][2] = {
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 10 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 20 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 30 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 40 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 50 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 60 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 70 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 80 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 90 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 100 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 110 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 120 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 130 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 140 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 150 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{2, -3},
|
||||
{0, 0}, /* 160 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 170 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 180 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 190 */
|
||||
{0, -1},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{0, 0},
|
||||
{2, 0},
|
||||
{2, -3}, /* 200 */
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{0, -1},
|
||||
{2, -3},
|
||||
{2, -3}, /* 210 */
|
||||
{2, -3},
|
||||
{3, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{0, 0},
|
||||
{0, -1},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3}, /* 220 */
|
||||
{2, -3},
|
||||
{0, -1},
|
||||
{0, -1},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{0, 0}, /* 230 */
|
||||
{2, 0},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{0, 0}, /* 240 */
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{0, 0},
|
||||
{0, -1},
|
||||
{2, -3},
|
||||
{2, -3}, /* 250 */
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{2, -3},
|
||||
{0, -1},
|
||||
{2, -3} /* 255 */
|
||||
};
|
||||
|
||||
|
||||
static inline constexpr int32_t specialPropChars[CHARMAX][2] = {
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 10 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 20 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 30 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 40 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 50 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 60 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 70 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 80 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 90 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 100 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 110 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 120 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 130 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 140 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 150 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 160 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 170 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 180 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 190 */
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{0, 0},
|
||||
{1, 1},
|
||||
{2, -2}, /* 200 */
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{0, 0},
|
||||
{2, -2},
|
||||
{2, -2}, /* 210 */
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2},
|
||||
{2, -2}, /* 220 */
|
||||
{2, -2},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 230 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 240 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 250 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0} /* 255 */
|
||||
};
|
||||
|
||||
|
||||
static inline constexpr int32_t specialBigPropChars[CHARMAX][2] = {
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 10 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 20 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 30 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 40 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 50 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 60 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 70 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 80 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 90 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 100 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 110 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 120 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 130 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 140 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 150 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 160 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 170 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 180 */
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{0, 0}, /* 190 */
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{0, 0},
|
||||
{3, 1},
|
||||
{3, -3}, /* 200 */
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{0, 0},
|
||||
{3, -3},
|
||||
{3, -3}, /* 210 */
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3}, /* 220 */
|
||||
{3, -3},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{0, 0}, /* 230 */
|
||||
{3, 1},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{0, 0}, /* 240 */
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{3, -3},
|
||||
{3, -3}, /* 250 */
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{3, -3},
|
||||
{0, 0},
|
||||
{3, -3} /* 255 */
|
||||
};
|
||||
|
||||
static inline int32_t showColorChars;
|
||||
};
|
||||
}
|
36
code/ui/CMakeLists.txt
Normal file
36
code/ui/CMakeLists.txt
Normal file
|
@ -0,0 +1,36 @@
|
|||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
|
||||
set(ARCH "x86_64")
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64")
|
||||
set(ARCH "x86_64")
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64")
|
||||
if (CMAKE_CL_64)
|
||||
set(ARCH "x86_64")
|
||||
else ()
|
||||
set(ARCH "x86")
|
||||
endif ()
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86")
|
||||
set(ARCH "x86")
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386")
|
||||
set(ARCH "x86")
|
||||
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i686")
|
||||
set(ARCH "x86")
|
||||
else ()
|
||||
message(FATAL_ERROR "Unknown processor:" ${CMAKE_SYSTEM_PROCESSOR})
|
||||
endif ()
|
||||
|
||||
set(UI_LIB_NAME "ui${ARCH}")
|
||||
|
||||
file(GLOB_RECURSE UI_SRC "*.h" "*.c" "*.cpp")
|
||||
|
||||
add_library(${UI_LIB_NAME} SHARED ${UI_SRC})
|
||||
target_include_directories(${UI_LIB_NAME} PUBLIC ../json/include ..)
|
||||
target_link_libraries(${UI_LIB_NAME} common base_game -static -lstdc++fs)
|
||||
target_compile_options(${UI_LIB_NAME} PUBLIC -Wno-narrowing -Wno-write-strings)
|
||||
target_compile_definitions(${UI_LIB_NAME} PUBLIC -DUI_DLL)
|
||||
set_target_properties(${UI_LIB_NAME} PROPERTIES PREFIX "")
|
||||
|
||||
target_compile_definitions(base_game PUBLIC -DUI_DLL)
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue