mirror of https://github.com/JAJames/Jupiter.git
Jessica James
6 years ago
76 changed files with 70 additions and 673 deletions
@ -0,0 +1,9 @@ |
|||
cmake_minimum_required(VERSION 3.8) |
|||
project(jupiter) |
|||
|
|||
set(CMAKE_CXX_STANDARD 17) |
|||
|
|||
include(build/CMakeLists.txt) |
|||
|
|||
# Setup source files |
|||
add_subdirectory(src) |
@ -1,42 +0,0 @@ |
|||
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00 |
|||
# Visual Studio 14 |
|||
VisualStudioVersion = 14.0.25420.1 |
|||
MinimumVisualStudioVersion = 10.0.40219.1 |
|||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Jupiter", "Jupiter\Jupiter.vcxproj", "{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}" |
|||
EndProject |
|||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tester", "Tester\Tester.vcxproj", "{0F041791-1047-4C6A-A4C1-814E6957D5EB}" |
|||
ProjectSection(ProjectDependencies) = postProject |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8} = {367CBCA8-6F27-484A-BC6C-2FC087FBB0C8} |
|||
EndProjectSection |
|||
EndProject |
|||
Global |
|||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
|||
Debug|Win32 = Debug|Win32 |
|||
Debug|x64 = Debug|x64 |
|||
Release|Win32 = Release|Win32 |
|||
Release|x64 = Release|x64 |
|||
EndGlobalSection |
|||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Debug|Win32.ActiveCfg = Debug|Win32 |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Debug|Win32.Build.0 = Debug|Win32 |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Debug|Win32.Deploy.0 = Debug|Win32 |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Debug|x64.ActiveCfg = Debug|x64 |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Debug|x64.Build.0 = Debug|x64 |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Release|Win32.ActiveCfg = Release|Win32 |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Release|Win32.Build.0 = Release|Win32 |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Release|x64.ActiveCfg = Release|x64 |
|||
{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}.Release|x64.Build.0 = Release|x64 |
|||
{0F041791-1047-4C6A-A4C1-814E6957D5EB}.Debug|Win32.ActiveCfg = Debug|Win32 |
|||
{0F041791-1047-4C6A-A4C1-814E6957D5EB}.Debug|Win32.Build.0 = Debug|Win32 |
|||
{0F041791-1047-4C6A-A4C1-814E6957D5EB}.Debug|x64.ActiveCfg = Debug|x64 |
|||
{0F041791-1047-4C6A-A4C1-814E6957D5EB}.Debug|x64.Build.0 = Debug|x64 |
|||
{0F041791-1047-4C6A-A4C1-814E6957D5EB}.Release|Win32.ActiveCfg = Release|Win32 |
|||
{0F041791-1047-4C6A-A4C1-814E6957D5EB}.Release|Win32.Build.0 = Release|Win32 |
|||
{0F041791-1047-4C6A-A4C1-814E6957D5EB}.Release|x64.ActiveCfg = Release|x64 |
|||
{0F041791-1047-4C6A-A4C1-814E6957D5EB}.Release|x64.Build.0 = Release|x64 |
|||
EndGlobalSection |
|||
GlobalSection(SolutionProperties) = preSolution |
|||
HideSolutionNode = FALSE |
|||
EndGlobalSection |
|||
EndGlobal |
@ -1,172 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup Label="ProjectConfigurations"> |
|||
<ProjectConfiguration Include="Debug|Win32"> |
|||
<Configuration>Debug</Configuration> |
|||
<Platform>Win32</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Debug|x64"> |
|||
<Configuration>Debug</Configuration> |
|||
<Platform>x64</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Release|Win32"> |
|||
<Configuration>Release</Configuration> |
|||
<Platform>Win32</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Release|x64"> |
|||
<Configuration>Release</Configuration> |
|||
<Platform>x64</Platform> |
|||
</ProjectConfiguration> |
|||
</ItemGroup> |
|||
<PropertyGroup Label="Globals"> |
|||
<ProjectGuid>{367CBCA8-6F27-484A-BC6C-2FC087FBB0C8}</ProjectGuid> |
|||
<Keyword>Win32Proj</Keyword> |
|||
<RootNamespace>Jupiter</RootNamespace> |
|||
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
|||
<PropertyGroup Label="Configuration"> |
|||
<ConfigurationType>DynamicLibrary</ConfigurationType> |
|||
<PlatformToolset>v141</PlatformToolset> |
|||
<CharacterSet>Unicode</CharacterSet> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> |
|||
<UseDebugLibraries>true</UseDebugLibraries> |
|||
<WholeProgramOptimization>false</WholeProgramOptimization> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> |
|||
<UseDebugLibraries>false</UseDebugLibraries> |
|||
<WholeProgramOptimization>true</WholeProgramOptimization> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|||
<ImportGroup Label="ExtensionSettings"> |
|||
</ImportGroup> |
|||
<ImportGroup Label="PropertySheets"> |
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|||
</ImportGroup> |
|||
<PropertyGroup Label="UserMacros" /> |
|||
<PropertyGroup> |
|||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
|||
<IntDir>$(SolutionDir)build\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Platform)'=='Win32'"> |
|||
<IncludePath>C:\dev\OpenSSL\Win32\include;$(IncludePath)</IncludePath> |
|||
<LibraryPath>C:\dev\OpenSSL\Win32\lib\VC;$(LibraryPath)</LibraryPath> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Platform)'=='x64'"> |
|||
<IncludePath>C:\dev\OpenSSL\Win64\include;$(IncludePath)</IncludePath> |
|||
<LibraryPath>C:\dev\OpenSSL\Win64\lib\VC;$(LibraryPath)</LibraryPath> |
|||
</PropertyGroup> |
|||
<ItemDefinitionGroup> |
|||
<ClCompile> |
|||
<WarningLevel>Level4</WarningLevel> |
|||
<PreprocessorDefinitions>WIN32;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;JUPITER_EXPORTS;JUPITER_PLATFORM="$(Platform)/";%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
|||
<DisableSpecificWarnings>4505</DisableSpecificWarnings> |
|||
</ClCompile> |
|||
<Link> |
|||
<SubSystem>Console</SubSystem> |
|||
</Link> |
|||
<ResourceCompile> |
|||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|||
</ResourceCompile> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Platform)'=='Win32'"> |
|||
<Link> |
|||
<AdditionalDependencies>libcrypto32MD.lib;libssl32MD.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Platform)'=='x64'"> |
|||
<Link> |
|||
<AdditionalDependencies>libcrypto64MD.lib;libssl64MD.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> |
|||
<ClCompile> |
|||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
</ClCompile> |
|||
<Link> |
|||
<Optimization>Full</Optimization> |
|||
<OptimizeReferences>true</OptimizeReferences> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> |
|||
<ClCompile> |
|||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
</ClCompile> |
|||
<Link> |
|||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="Base64.cpp" /> |
|||
<ClCompile Include="Command.cpp" /> |
|||
<ClCompile Include="Config.cpp" /> |
|||
<ClCompile Include="Database.cpp" /> |
|||
<ClCompile Include="DataBuffer.cpp" /> |
|||
<ClCompile Include="File.cpp" /> |
|||
<ClCompile Include="Functions.c" /> |
|||
<ClCompile Include="GenericCommand.cpp" /> |
|||
<ClCompile Include="Hash.cpp" /> |
|||
<ClCompile Include="HTTP_Server.cpp" /> |
|||
<ClCompile Include="IRC_Client.cpp" /> |
|||
<ClCompile Include="Jupiter.cpp" /> |
|||
<ClCompile Include="Plugin.cpp" /> |
|||
<ClCompile Include="Rehash.cpp" /> |
|||
<ClCompile Include="SecureSocket.cpp" /> |
|||
<ClCompile Include="Socket.cpp" /> |
|||
<ClCompile Include="TCPSocket.cpp" /> |
|||
<ClCompile Include="Timer.cpp" /> |
|||
<ClCompile Include="UDPSocket.cpp" /> |
|||
<ClCompile Include="INIConfig.cpp" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClInclude Include="Algorithm.h" /> |
|||
<ClInclude Include="ArrayList.h" /> |
|||
<ClInclude Include="Base64.h" /> |
|||
<ClInclude Include="Command.h" /> |
|||
<ClInclude Include="Config.h" /> |
|||
<ClInclude Include="CString.h" /> |
|||
<ClInclude Include="CString_Imp.h" /> |
|||
<ClInclude Include="Database.h" /> |
|||
<ClInclude Include="DataBuffer.h" /> |
|||
<ClInclude Include="DataBuffer_Imp.h" /> |
|||
<ClInclude Include="File.h" /> |
|||
<ClInclude Include="GenericCommand.h" /> |
|||
<ClInclude Include="Hash.h" /> |
|||
<ClInclude Include="Hash_Table.h" /> |
|||
<ClInclude Include="Hash_Table_Imp.h" /> |
|||
<ClInclude Include="HTTP.h" /> |
|||
<ClInclude Include="HTTP_QueryString.h" /> |
|||
<ClInclude Include="HTTP_Server.h" /> |
|||
<ClInclude Include="InvalidIndex.h" /> |
|||
<ClInclude Include="IRC.h" /> |
|||
<ClInclude Include="IRC_Numerics.h" /> |
|||
<ClInclude Include="Jupiter.h" /> |
|||
<ClInclude Include="Functions.h" /> |
|||
<ClInclude Include="IRC_Client.h" /> |
|||
<ClInclude Include="Plugin.h" /> |
|||
<ClInclude Include="Readable_String.h" /> |
|||
<ClInclude Include="Readable_String_Imp.h" /> |
|||
<ClInclude Include="Reference_String.h" /> |
|||
<ClInclude Include="Reference_String_Imp.h" /> |
|||
<ClInclude Include="Rehash.h" /> |
|||
<ClInclude Include="resource.h" /> |
|||
<ClInclude Include="SecureSocket.h" /> |
|||
<ClInclude Include="Shift_String.h" /> |
|||
<ClInclude Include="Shift_String_Imp.h" /> |
|||
<ClInclude Include="Socket.h" /> |
|||
<ClInclude Include="String.h" /> |
|||
<ClInclude Include="String_Imp.h" /> |
|||
<ClInclude Include="String_Type_Imp.h" /> |
|||
<ClInclude Include="String_Type.h" /> |
|||
<ClInclude Include="TCPSocket.h" /> |
|||
<ClInclude Include="Thinker.h" /> |
|||
<ClInclude Include="Timer.h" /> |
|||
<ClInclude Include="UDPSocket.h" /> |
|||
<ClInclude Include="INIConfig.h" /> |
|||
</ItemGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|||
<ImportGroup Label="ExtensionTargets"> |
|||
</ImportGroup> |
|||
</Project> |
@ -1,261 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup> |
|||
<Filter Include="Source Files"> |
|||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> |
|||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> |
|||
</Filter> |
|||
<Filter Include="Header Files"> |
|||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> |
|||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> |
|||
</Filter> |
|||
<Filter Include="Resource Files"> |
|||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> |
|||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> |
|||
</Filter> |
|||
<Filter Include="Header Files\Lists"> |
|||
<UniqueIdentifier>{1e778301-e8e9-4565-b651-8686ec19b419}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\Sockets"> |
|||
<UniqueIdentifier>{02e48221-98b3-4875-aa96-796a9aedc4b5}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\IRC"> |
|||
<UniqueIdentifier>{a7ca0e66-d9b7-43e2-a3f8-d89744bd3c06}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\IRC"> |
|||
<UniqueIdentifier>{6f290a91-7cd8-495e-ae20-22c956fcfbcb}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Sockets"> |
|||
<UniqueIdentifier>{95b491ba-ca51-4aad-bdb8-7fae054498d2}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\Strings"> |
|||
<UniqueIdentifier>{55c2d716-1fc1-42a3-8dc0-ef730ae338e4}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\Files"> |
|||
<UniqueIdentifier>{bd64544d-de91-47a1-afda-21e37a7e31e0}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Files"> |
|||
<UniqueIdentifier>{10026b7d-c0ef-416c-ac1f-9e94064a404f}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\Object Extensions"> |
|||
<UniqueIdentifier>{08dcc387-4b58-4f1f-b785-9565fe67f645}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Object Extensions"> |
|||
<UniqueIdentifier>{37b5eaf6-0e4f-4609-8518-1b72f93aebe5}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\DataBuffer"> |
|||
<UniqueIdentifier>{aef2e303-8a68-4cf9-8464-c4aef776d3f3}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\HTTP"> |
|||
<UniqueIdentifier>{790badaf-80b5-40b0-8de1-a71f4c523074}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\HTTP"> |
|||
<UniqueIdentifier>{7a4d818a-481e-467c-a3e3-d6d0e7dde244}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\Hash"> |
|||
<UniqueIdentifier>{7db21243-8b23-4dd2-9888-0bdd3c5a1edd}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Source Files\Files\Configs"> |
|||
<UniqueIdentifier>{da033f3a-f5fd-4592-900f-f17bb3520547}</UniqueIdentifier> |
|||
</Filter> |
|||
<Filter Include="Header Files\Files\Configs"> |
|||
<UniqueIdentifier>{b5b148d5-c636-41eb-838a-7555114e1589}</UniqueIdentifier> |
|||
</Filter> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="Functions.c"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Jupiter.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="TCPSocket.cpp"> |
|||
<Filter>Source Files\Sockets</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="UDPSocket.cpp"> |
|||
<Filter>Source Files\Sockets</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Socket.cpp"> |
|||
<Filter>Source Files\Sockets</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="SecureSocket.cpp"> |
|||
<Filter>Source Files\Sockets</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="File.cpp"> |
|||
<Filter>Source Files\Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Timer.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Plugin.cpp"> |
|||
<Filter>Source Files\Object Extensions</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Rehash.cpp"> |
|||
<Filter>Source Files\Object Extensions</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Base64.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="IRC_Client.cpp"> |
|||
<Filter>Source Files\IRC</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="DataBuffer.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Database.cpp"> |
|||
<Filter>Source Files\Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="HTTP_Server.cpp"> |
|||
<Filter>Source Files\HTTP</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="GenericCommand.cpp"> |
|||
<Filter>Source Files\Object Extensions</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Command.cpp"> |
|||
<Filter>Source Files\Object Extensions</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Hash.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="Config.cpp"> |
|||
<Filter>Source Files\Files\Configs</Filter> |
|||
</ClCompile> |
|||
<ClCompile Include="INIConfig.cpp"> |
|||
<Filter>Source Files\Files\Configs</Filter> |
|||
</ClCompile> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClInclude Include="Functions.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="resource.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Jupiter.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="UDPSocket.h"> |
|||
<Filter>Header Files\Sockets</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="TCPSocket.h"> |
|||
<Filter>Header Files\Sockets</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="SecureSocket.h"> |
|||
<Filter>Header Files\Sockets</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Socket.h"> |
|||
<Filter>Header Files\Sockets</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="IRC.h"> |
|||
<Filter>Header Files\IRC</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="IRC_Client.h"> |
|||
<Filter>Header Files\IRC</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="ArrayList.h"> |
|||
<Filter>Header Files\Lists</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="CString.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="String_Type.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="CString_Imp.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="File.h"> |
|||
<Filter>Header Files\Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Timer.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Base64.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Rehash.h"> |
|||
<Filter>Header Files\Object Extensions</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Plugin.h"> |
|||
<Filter>Header Files\Object Extensions</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Thinker.h"> |
|||
<Filter>Header Files\Object Extensions</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="IRC_Numerics.h"> |
|||
<Filter>Header Files\IRC</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="InvalidIndex.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="String_Type_Imp.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Shift_String.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Shift_String_Imp.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="String.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="String_Imp.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Readable_String.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Readable_String_Imp.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Reference_String.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Reference_String_Imp.h"> |
|||
<Filter>Header Files\Strings</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Database.h"> |
|||
<Filter>Header Files\Files</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="DataBuffer_Imp.h"> |
|||
<Filter>Header Files\DataBuffer</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="DataBuffer.h"> |
|||
<Filter>Header Files\DataBuffer</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="HTTP_Server.h"> |
|||
<Filter>Header Files\HTTP</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="HTTP.h"> |
|||
<Filter>Header Files\HTTP</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="HTTP_QueryString.h"> |
|||
<Filter>Header Files\HTTP</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="GenericCommand.h"> |
|||
<Filter>Header Files\Object Extensions</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Command.h"> |
|||
<Filter>Header Files\Object Extensions</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Hash.h"> |
|||
<Filter>Header Files\Hash</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Hash_Table.h"> |
|||
<Filter>Header Files\Hash</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Hash_Table_Imp.h"> |
|||
<Filter>Header Files\Hash</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Config.h"> |
|||
<Filter>Header Files\Files\Configs</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="INIConfig.h"> |
|||
<Filter>Header Files\Files\Configs</Filter> |
|||
</ClInclude> |
|||
<ClInclude Include="Algorithm.h"> |
|||
<Filter>Header Files</Filter> |
|||
</ClInclude> |
|||
</ItemGroup> |
|||
</Project> |
@ -1,14 +0,0 @@ |
|||
//{{NO_DEPENDENCIES}}
|
|||
// Microsoft Visual C++ generated include file.
|
|||
// Used by Jupiter.rc
|
|||
|
|||
// Next default values for new objects
|
|||
//
|
|||
#ifdef APSTUDIO_INVOKED |
|||
#ifndef APSTUDIO_READONLY_SYMBOLS |
|||
#define _APS_NEXT_RESOURCE_VALUE 101 |
|||
#define _APS_NEXT_COMMAND_VALUE 40001 |
|||
#define _APS_NEXT_CONTROL_VALUE 1001 |
|||
#define _APS_NEXT_SYMED_VALUE 101 |
|||
#endif |
|||
#endif |
@ -1,59 +0,0 @@ |
|||
#include <chrono> |
|||
#include <string> |
|||
#include <iostream> |
|||
#include <thread> |
|||
#include "Jupiter/Functions.h" |
|||
#include "Jupiter/CString.h" |
|||
#include "Jupiter/String.h" |
|||
#include "Jupiter/File.h" |
|||
#include "Jupiter/Base64.h" |
|||
#include "Jupiter/InvalidIndex.h" |
|||
#include "Jupiter/Reference_String.h" |
|||
#include "Jupiter/DataBuffer.h" |
|||
#include "Jupiter/HTTP.h" |
|||
#include "Jupiter/HTTP_Server.h" |
|||
#include "Jupiter/HTTP_QueryString.h" |
|||
#include "Jupiter/Hash.h" |
|||
#include "Jupiter/Hash_Table.h" |
|||
#include "Jupiter/Algorithm.h" |
|||
|
|||
using namespace Jupiter; |
|||
using namespace Jupiter::literals; |
|||
|
|||
unsigned int good_tests = 0; |
|||
unsigned int total_tests = 0; |
|||
|
|||
void test(bool expr) |
|||
{ |
|||
++total_tests; |
|||
if (expr) |
|||
++good_tests; |
|||
else |
|||
std::cout << "Test number " << total_tests << " failed!" << std::endl; |
|||
} |
|||
|
|||
template<typename T> void test(T result, T expected_result) |
|||
{ |
|||
++total_tests; |
|||
|
|||
if (result == expected_result) |
|||
++good_tests; |
|||
else |
|||
{ |
|||
std::cout << "Test number " << total_tests << " failed!" << std::endl; |
|||
std::cout << "\tExpected '" << expected_result << "' but got '" << result << "' instead" << std::endl; |
|||
} |
|||
} |
|||
|
|||
int main() |
|||
{ |
|||
if (good_tests == total_tests) |
|||
std::cout << "All " << total_tests << " tests succeeded." << std::endl; |
|||
else |
|||
std::cout << "ERROR: Only " << good_tests << "/" << total_tests << " tests succeeded. " << total_tests - good_tests << " tests failed." << std::endl; |
|||
|
|||
std::cout << "Press any key to continue..." << std::endl; |
|||
std::cin.get(); |
|||
|
|||
return 0; |
|||
} |
@ -1,91 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup Label="ProjectConfigurations"> |
|||
<ProjectConfiguration Include="Debug|Win32"> |
|||
<Configuration>Debug</Configuration> |
|||
<Platform>Win32</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Debug|x64"> |
|||
<Configuration>Debug</Configuration> |
|||
<Platform>x64</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Release|Win32"> |
|||
<Configuration>Release</Configuration> |
|||
<Platform>Win32</Platform> |
|||
</ProjectConfiguration> |
|||
<ProjectConfiguration Include="Release|x64"> |
|||
<Configuration>Release</Configuration> |
|||
<Platform>x64</Platform> |
|||
</ProjectConfiguration> |
|||
</ItemGroup> |
|||
<PropertyGroup Label="Globals"> |
|||
<ProjectGuid>{0F041791-1047-4C6A-A4C1-814E6957D5EB}</ProjectGuid> |
|||
<Keyword>Win32Proj</Keyword> |
|||
<RootNamespace>Tester</RootNamespace> |
|||
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
|||
<PropertyGroup Label="Configuration"> |
|||
<ConfigurationType>Application</ConfigurationType> |
|||
<PlatformToolset>v141</PlatformToolset> |
|||
<CharacterSet>Unicode</CharacterSet> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> |
|||
<UseDebugLibraries>true</UseDebugLibraries> |
|||
<WholeProgramOptimization>false</WholeProgramOptimization> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> |
|||
<UseDebugLibraries>false</UseDebugLibraries> |
|||
<WholeProgramOptimization>true</WholeProgramOptimization> |
|||
</PropertyGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|||
<ImportGroup Label="ExtensionSettings"> |
|||
</ImportGroup> |
|||
<ImportGroup Label="PropertySheets"> |
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|||
</ImportGroup> |
|||
<PropertyGroup Label="UserMacros" /> |
|||
<PropertyGroup> |
|||
<LibraryPath>$(SolutionDir)bin\$(Platform)\$(Configuration)\;$(LibraryPath)</LibraryPath> |
|||
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir> |
|||
<IntDir>$(SolutionDir)build\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
|||
</PropertyGroup> |
|||
<ItemDefinitionGroup> |
|||
<ClCompile> |
|||
<WarningLevel>Level4</WarningLevel> |
|||
<PreprocessorDefinitions>WIN32;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
<AdditionalIncludeDirectories>../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> |
|||
</ClCompile> |
|||
<Link> |
|||
<SubSystem>Console</SubSystem> |
|||
<AdditionalDependencies>Jupiter.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> |
|||
<ClCompile> |
|||
<WarningLevel>Level3</WarningLevel> |
|||
<Optimization>Disabled</Optimization> |
|||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
</ClCompile> |
|||
<Link> |
|||
<GenerateDebugInformation>true</GenerateDebugInformation> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> |
|||
<ClCompile> |
|||
<WarningLevel>Level3</WarningLevel> |
|||
<Optimization>Full</Optimization> |
|||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|||
</ClCompile> |
|||
<Link> |
|||
<OptimizeReferences>true</OptimizeReferences> |
|||
</Link> |
|||
</ItemDefinitionGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="Test.cpp" /> |
|||
</ItemGroup> |
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|||
<ImportGroup Label="ExtensionTargets"> |
|||
</ImportGroup> |
|||
</Project> |
@ -1,22 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup> |
|||
<Filter Include="Source Files"> |
|||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> |
|||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> |
|||
</Filter> |
|||
<Filter Include="Header Files"> |
|||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> |
|||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> |
|||
</Filter> |
|||
<Filter Include="Resource Files"> |
|||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> |
|||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> |
|||
</Filter> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ClCompile Include="Test.cpp"> |
|||
<Filter>Source Files</Filter> |
|||
</ClCompile> |
|||
</ItemGroup> |
|||
</Project> |
@ -0,0 +1,6 @@ |
|||
# Include any compiler-specifc settings |
|||
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/build/${CMAKE_CXX_COMPILER_ID}") |
|||
include("${CMAKE_CURRENT_SOURCE_DIR}/build/${CMAKE_CXX_COMPILER_ID}/CMakeLists.txt") |
|||
else() |
|||
message(STATUS "No compiler-specific settings set; CMAKE_CXX_COMPILER_ID: ${CMAKE_CXX_COMPILER_ID}") |
|||
endif() |
@ -0,0 +1,4 @@ |
|||
cmake_minimum_required(VERSION 3.8) |
|||
|
|||
# Setup source files |
|||
add_subdirectory(common) |
@ -0,0 +1,40 @@ |
|||
cmake_minimum_required(VERSION 3.8) |
|||
|
|||
# Setup source files |
|||
set(SOURCE_FILES |
|||
Base64.cpp |
|||
Command.cpp |
|||
Config.cpp |
|||
Database.cpp |
|||
DataBuffer.cpp |
|||
File.cpp |
|||
Functions.c |
|||
GenericCommand.cpp |
|||
Hash.cpp |
|||
HTTP_Server.cpp |
|||
INIConfig.cpp |
|||
IRC_Client.cpp |
|||
Jupiter.cpp |
|||
Plugin.cpp |
|||
Rehash.cpp |
|||
SecureSocket.cpp |
|||
Socket.cpp |
|||
TCPSocket.cpp |
|||
Timer.cpp |
|||
UDPSocket.cpp) |
|||
|
|||
# Setup library build target |
|||
add_library(jupiter SHARED ${SOURCE_FILES}) |
|||
|
|||
# Find OpenSSL |
|||
find_package(OpenSSL REQUIRED) |
|||
|
|||
# Setup include directories |
|||
target_include_directories(jupiter PUBLIC ../include) |
|||
target_include_directories(jupiter PRIVATE ${OPENSSL_INCLUDE_DIR}) |
|||
|
|||
# Setup additionally needed libs |
|||
target_link_libraries(jupiter ${OPENSSL_LIBRARIES}) |
|||
|
|||
# Setup macros JUPITER_EXPORTS |
|||
target_compile_definitions(jupiter PRIVATE JUPITER_EXPORTS) |
Loading…
Reference in new issue