mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-12-26 21:34:16 +01:00
renamed project to 'citrus'
This commit is contained in:
parent
9709dd2def
commit
b8ca09160b
@ -1,6 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
project(akiru)
|
project(citrus)
|
||||||
|
|
||||||
# silence some spam
|
# silence some spam
|
||||||
add_definitions(-Wno-attributes)
|
add_definitions(-Wno-attributes)
|
||||||
@ -39,8 +39,7 @@ include_directories(${OPENGL_INCLUDE_DIR})
|
|||||||
# internal includes
|
# internal includes
|
||||||
include_directories(src/common/src)
|
include_directories(src/common/src)
|
||||||
include_directories(src/core/src)
|
include_directories(src/core/src)
|
||||||
include_directories(src/akiru/src)
|
include_directories(src/citrus/src)
|
||||||
include_directories(src/akiru_qt/src)
|
|
||||||
|
|
||||||
# process subdirectories
|
# process subdirectories
|
||||||
if(QT4_FOUND AND QT_QTCORE_FOUND AND QT_QTGUI_FOUND AND QT_QTOPENGL_FOUND AND NOT DISABLE_QT4)
|
if(QT4_FOUND AND QT_QTCORE_FOUND AND QT_QTGUI_FOUND AND QT_QTOPENGL_FOUND AND NOT DISABLE_QT4)
|
||||||
|
@ -5,7 +5,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "src\common\common
|
|||||||
{69F00340-5C3D-449F-9A80-958435C6CF06} = {69F00340-5C3D-449F-9A80-958435C6CF06}
|
{69F00340-5C3D-449F-9A80-958435C6CF06} = {69F00340-5C3D-449F-9A80-958435C6CF06}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "akiru", "src\akiru\akiru.vcxproj", "{CE7D2C07-21CE-4590-81AB-2ADA88A2B85F}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "citrus", "src\citrus\citrus.vcxproj", "{CE7D2C07-21CE-4590-81AB-2ADA88A2B85F}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
{69F00340-5C3D-449F-9A80-958435C6CF06} = {69F00340-5C3D-449F-9A80-958435C6CF06}
|
{69F00340-5C3D-449F-9A80-958435C6CF06} = {69F00340-5C3D-449F-9A80-958435C6CF06}
|
||||||
EndProjectSection
|
EndProjectSection
|
@ -1,7 +1,7 @@
|
|||||||
add_subdirectory(common)
|
add_subdirectory(common)
|
||||||
add_subdirectory(core)
|
add_subdirectory(core)
|
||||||
add_subdirectory(akiru)
|
add_subdirectory(citrus)
|
||||||
|
|
||||||
if(QT4_FOUND AND QT_QTCORE_FOUND AND QT_QTGUI_FOUND AND QT_QTOPENGL_FOUND AND NOT DISABLE_QT4)
|
if(QT4_FOUND AND QT_QTCORE_FOUND AND QT_QTGUI_FOUND AND QT_QTOPENGL_FOUND AND NOT DISABLE_QT4)
|
||||||
add_subdirectory(akiru_qt)
|
#add_subdirectory(citrus_qt)
|
||||||
endif()
|
endif()
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
set(SRCS src/akiru.cpp
|
|
||||||
src/emuwindow/emuwindow_glfw.cpp)
|
|
||||||
|
|
||||||
# NOTE: This is a workaround for CMake bug 0006976 (missing X11_xf86vmode_LIB variable)
|
|
||||||
if (NOT X11_xf86vmode_LIB)
|
|
||||||
set(X11_xv86vmode_LIB Xxf86vm)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_executable(akiru ${SRCS})
|
|
||||||
target_link_libraries(akiru core common ${OPENGL_LIBRARIES} ${GLFW_LIBRARIES} GLEW rt ${X11_Xrandr_LIB} ${X11_xv86vmode_LIB})
|
|
||||||
|
|
||||||
#install(TARGETS akiru RUNTIME DESTINATION ${bindir})
|
|
12
src/citrus/CMakeLists.txt
Normal file
12
src/citrus/CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
set(SRCS src/citrus.cpp
|
||||||
|
src/emuwindow/emuwindow_glfw.cpp)
|
||||||
|
|
||||||
|
# NOTE: This is a workaround for CMake bug 0006976 (missing X11_xf86vmode_LIB variable)
|
||||||
|
if (NOT X11_xf86vmode_LIB)
|
||||||
|
set(X11_xv86vmode_LIB Xxf86vm)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_executable(citrus ${SRCS})
|
||||||
|
target_link_libraries(citrus core common ${OPENGL_LIBRARIES} ${GLFW_LIBRARIES} GLEW rt ${X11_Xrandr_LIB} ${X11_xv86vmode_LIB})
|
||||||
|
|
||||||
|
#install(TARGETS citrus RUNTIME DESTINATION ${bindir})
|
@ -22,7 +22,7 @@
|
|||||||
<ProjectGuid>{CE7D2C07-21CE-4590-81AB-2ADA88A2B85F}</ProjectGuid>
|
<ProjectGuid>{CE7D2C07-21CE-4590-81AB-2ADA88A2B85F}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
<RootNamespace>emu_win32</RootNamespace>
|
<RootNamespace>emu_win32</RootNamespace>
|
||||||
<ProjectName>akiru</ProjectName>
|
<ProjectName>citrus</ProjectName>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
@ -193,17 +193,17 @@
|
|||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="src\akiru.cpp" />
|
<ClCompile Include="src\citrus.cpp" />
|
||||||
<ClCompile Include="src\emu_window\emu_window_glfw.cpp" />
|
<ClCompile Include="src\emu_window\emu_window_glfw.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="resource.h" />
|
<ClInclude Include="resource.h" />
|
||||||
<ClInclude Include="src\akiru.h" />
|
<ClInclude Include="src\citrus.h" />
|
||||||
<ClInclude Include="src\emu_window\emu_window_glfw.h" />
|
<ClInclude Include="src\emu_window\emu_window_glfw.h" />
|
||||||
<ClInclude Include="src\version.h" />
|
<ClInclude Include="src\version.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="akiru.rc" />
|
<ResourceCompile Include="citrus.rc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="CMakeLists.txt" />
|
<None Include="CMakeLists.txt" />
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="src\akiru.cpp" />
|
<ClCompile Include="src\citrus.cpp" />
|
||||||
<ClCompile Include="src\emu_window\emu_window_glfw.cpp">
|
<ClCompile Include="src\emu_window\emu_window_glfw.cpp">
|
||||||
<Filter>emu_window</Filter>
|
<Filter>emu_window</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -9,13 +9,13 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="resource.h" />
|
<ClInclude Include="resource.h" />
|
||||||
<ClInclude Include="src\version.h" />
|
<ClInclude Include="src\version.h" />
|
||||||
<ClInclude Include="src\akiru.h" />
|
<ClInclude Include="src\citrus.h" />
|
||||||
<ClInclude Include="src\emu_window\emu_window_glfw.h">
|
<ClInclude Include="src\emu_window\emu_window_glfw.h">
|
||||||
<Filter>emu_window</Filter>
|
<Filter>emu_window</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="akiru.rc" />
|
<ResourceCompile Include="citrus.rc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Filter Include="emu_window">
|
<Filter Include="emu_window">
|
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2013 Akiru Emulator
|
* Copyright (C) 2013 Citrus Emulator
|
||||||
*
|
*
|
||||||
* @file akiru.cpp
|
* @file citrus.cpp
|
||||||
* @author ShizZy <shizzy247@gmail.com>
|
* @author ShizZy <shizzy247@gmail.com>
|
||||||
* @date 2013-09-04
|
* @date 2013-09-04
|
||||||
* @brief Main entry point
|
* @brief Main entry point
|
||||||
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include "emu_window/emu_window_glfw.h"
|
#include "emu_window/emu_window_glfw.h"
|
||||||
|
|
||||||
#include "akiru.h"
|
#include "citrus.h"
|
||||||
|
|
||||||
//#define PLAY_FIFO_RECORDING
|
//#define PLAY_FIFO_RECORDING
|
||||||
|
|
||||||
@ -39,7 +39,7 @@
|
|||||||
int __cdecl main(int argc, char **argv) {
|
int __cdecl main(int argc, char **argv) {
|
||||||
//u32 tight_loop;
|
//u32 tight_loop;
|
||||||
|
|
||||||
printf("akiru starting...\n");
|
printf("citrus starting...\n");
|
||||||
|
|
||||||
std::string program_dir = File::GetCurrentDir();
|
std::string program_dir = File::GetCurrentDir();
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2013 Akiru Emulator
|
* Copyright (C) 2013 Citrus Emulator
|
||||||
*
|
*
|
||||||
* @file akiru.cpp
|
* @file citrus.h
|
||||||
* @author ShizZy <shizzy247@gmail.com>
|
* @author ShizZy <shizzy247@gmail.com>
|
||||||
* @date 2013-09-04
|
* @date 2013-09-04
|
||||||
* @brief Main entry point
|
* @brief Main entry point
|
||||||
@ -22,14 +22,14 @@
|
|||||||
* http://code.google.com/p/gekko-gc-emu/
|
* http://code.google.com/p/gekko-gc-emu/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AKIRU_AKIRU_H_
|
#ifndef CITRUS_CITRUS_H_
|
||||||
#define AKIRU_AKIRU_H_
|
#define CITRUS_CITRUS_H_
|
||||||
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#define APP_NAME "akiru"
|
#define APP_NAME "citrus"
|
||||||
#define APP_VERSION "0.31-" VERSION
|
#define APP_VERSION "0.01-" VERSION
|
||||||
#define APP_TITLE APP_NAME " " APP_VERSION
|
#define APP_TITLE APP_NAME " " APP_VERSION
|
||||||
#define COPYRIGHT "Copyright (C) 2005-2012 Akiru Team"
|
#define COPYRIGHT "Copyright (C) 2013 Citrus Team"
|
||||||
|
|
||||||
#endif // AKIRU_AKIRU_H_
|
#endif // CITRUS_CITRUS_H_
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2013 Akiru Emulator
|
* Copyright (C) 2013 Citrus Emulator
|
||||||
*
|
*
|
||||||
* @file emu_window_glfw.cpp
|
* @file emu_window_glfw.cpp
|
||||||
* @author ShizZy <shizzy@6bit.net>
|
* @author ShizZy <shizzy@6bit.net>
|
||||||
@ -54,7 +54,7 @@ EmuWindow_GLFW::EmuWindow_GLFW() {
|
|||||||
}
|
}
|
||||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
|
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
|
||||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1);
|
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1);
|
||||||
render_window_ = glfwCreateWindow(640, 480, "akiru", NULL, NULL);
|
render_window_ = glfwCreateWindow(640, 480, "citrus", NULL, NULL);
|
||||||
|
|
||||||
// Setup callbacks
|
// Setup callbacks
|
||||||
glfwSetWindowUserPointer(render_window_, this);
|
glfwSetWindowUserPointer(render_window_, this);
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2013 Akiru Emulator
|
* Copyright (C) 2013 Citrus Emulator
|
||||||
*
|
*
|
||||||
* @file emu_window_glfw.h
|
* @file emu_window_glfw.h
|
||||||
* @author ShizZy <shizzy@6bit.net>
|
* @author ShizZy <shizzy@6bit.net>
|
||||||
@ -22,8 +22,8 @@
|
|||||||
* http://code.google.com/p/gekko-gc-emu/
|
* http://code.google.com/p/gekko-gc-emu/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AKIRU_EMUWINDOW_GLFW_
|
#ifndef CITRUS_EMUWINDOW_GLFW_
|
||||||
#define AKIRU_EMUWINDOW_GLFW_
|
#define CITRUS_EMUWINDOW_GLFW_
|
||||||
|
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
@ -53,4 +53,4 @@ private:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AKIRU_EMUWINDOW_GLFW_
|
#endif // CITRUS_EMUWINDOW_GLFW_
|
@ -26,7 +26,7 @@
|
|||||||
#ifdef USER_DIR
|
#ifdef USER_DIR
|
||||||
#define EMU_DATA_DIR USER_DIR
|
#define EMU_DATA_DIR USER_DIR
|
||||||
#else
|
#else
|
||||||
#define EMU_DATA_DIR ".akiru"
|
#define EMU_DATA_DIR ".citrus"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
EmuWindow() : client_area_width_(640), client_area_height_(480) {
|
EmuWindow() : client_area_width_(640), client_area_height_(480) {
|
||||||
char window_title[255];
|
char window_title[255];
|
||||||
sprintf(window_title, "akiru [%s|%s] - %s",
|
sprintf(window_title, "citrus [%s|%s] - %s",
|
||||||
"null-cpu",
|
"null-cpu",
|
||||||
"null-renderer",
|
"null-renderer",
|
||||||
__DATE__);
|
__DATE__);
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#define BUILD_TYPE_STR ""
|
#define BUILD_TYPE_STR ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *scm_rev_str = "Akiru "
|
const char *scm_rev_str = "citrus "
|
||||||
#if !SCM_IS_MASTER
|
#if !SCM_IS_MASTER
|
||||||
"[" SCM_BRANCH_STR "] "
|
"[" SCM_BRANCH_STR "] "
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2013 Akiru Emulator
|
* Copyright (C) 2013 Citrus Emulator
|
||||||
*
|
*
|
||||||
* @file core.cpp
|
* @file core.cpp
|
||||||
* @author ShizZy <shizzy247@gmail.com>
|
* @author ShizZy <shizzy247@gmail.com>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2013 Akiru Emulator
|
* Copyright (C) 2013 Citrus Emulator
|
||||||
*
|
*
|
||||||
* @file core.h
|
* @file core.h
|
||||||
* @author ShizZy <shizzy247@gmail.com>
|
* @author ShizZy <shizzy247@gmail.com>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2013 Akiru Emulator
|
* Copyright (C) 2013 Citrus Emulator
|
||||||
*
|
*
|
||||||
* @file mem_map.cpp
|
* @file mem_map.cpp
|
||||||
* @author ShizZy <shizzy247@gmail.com>
|
* @author ShizZy <shizzy247@gmail.com>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2013 Akiru Emulator
|
* Copyright (C) 2013 Citrus Emulator
|
||||||
*
|
*
|
||||||
* @file mem_map.h
|
* @file mem_map.h
|
||||||
* @author ShizZy <shizzy247@gmail.com>
|
* @author ShizZy <shizzy247@gmail.com>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<StructMemberAlignment>16Bytes</StructMemberAlignment>
|
<StructMemberAlignment>16Bytes</StructMemberAlignment>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<AdditionalIncludeDirectories>$(SolutionDir)src\common\src;$(SolutionDir)src\core\src;$(SolutionDir)src\akiru\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(SolutionDir)src\common\src;$(SolutionDir)src\core\src;$(SolutionDir)src\citrus\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT=1</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT=1</PreprocessorDefinitions>
|
||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
Loading…
Reference in New Issue
Block a user