diff --git a/.gitmodules b/.gitmodules index a45f065200..396e129fed 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,5 +6,5 @@ path = ffmpeg url = https://github.com/hrydgard/ppsspp-ffmpeg [submodule "asmjit"] - path = asmjit + path = asmjitsrc/asmjit url = https://github.com/kobalicekp/asmjit diff --git a/CMakeLists.txt b/CMakeLists.txt index bfb3c82402..767c8c0d59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,5 +2,5 @@ cmake_minimum_required(VERSION 2.8) set(ASMJIT_STATIC TRUE) -add_subdirectory( asmjit ) +add_subdirectory( asmjitsrc ) add_subdirectory( rpcs3 ) diff --git a/asmjit b/asmjit deleted file mode 160000 index b76922fde9..0000000000 --- a/asmjit +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b76922fde96232030be302b3bdd9673e9bcec568 diff --git a/asmjit.vcxproj b/asmjitsrc/asmjit.vcxproj similarity index 97% rename from asmjit.vcxproj rename to asmjitsrc/asmjit.vcxproj index 0fd05578a8..f27696341c 100644 --- a/asmjit.vcxproj +++ b/asmjitsrc/asmjit.vcxproj @@ -96,22 +96,22 @@ - .\libs\$(Configuration)\ + $(SolutionDir)libs\$(Configuration)\ - .\libs\$(Configuration)\ + $(SolutionDir)libs\$(Configuration)\ - .\libs\$(Configuration)\ + $(SolutionDir)libs\$(Configuration)\ - .\libs\$(Configuration)\ + $(SolutionDir)libs\$(Configuration)\ diff --git a/asmjit.vcxproj.filters b/asmjitsrc/asmjit.vcxproj.filters similarity index 100% rename from asmjit.vcxproj.filters rename to asmjitsrc/asmjit.vcxproj.filters diff --git a/asmjit.vcxproj.user b/asmjitsrc/asmjit.vcxproj.user similarity index 100% rename from asmjit.vcxproj.user rename to asmjitsrc/asmjit.vcxproj.user diff --git a/rpcs3.sln b/rpcs3.sln index 7b0d30d2e0..6da2bb9f4d 100644 --- a/rpcs3.sln +++ b/rpcs3.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 -VisualStudioVersion = 12.0.30110.0 +VisualStudioVersion = 12.0.21005.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rpcs3", "rpcs3\rpcs3.vcxproj", "{70CD65B0-91D6-4FAE-9A7B-4AF55D0D1B12}" ProjectSection(ProjectDependencies) = postProject @@ -131,7 +131,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "stc", "wxWidgets\build\msw\ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wxscintilla", "wxWidgets\build\msw\wx_vc10_wxscintilla.vcxproj", "{74827EBD-93DC-5110-BA95-3F2AB029B6B0}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "asmjit", "asmjit.vcxproj", "{AC40FF01-426E-4838-A317-66354CEFAE88}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "asmjitsrc\asmjit", "asmjitsrc\asmjit.vcxproj", "{AC40FF01-426E-4838-A317-66354CEFAE88}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "asmjit", "asmjit", "{E2A982F2-4B1A-48B1-8D77-A17A589C58D7}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -456,5 +458,6 @@ Global {87B42A9C-3F5C-53D7-9017-2B1CAE39457D} = {5812E712-6213-4372-B095-9EB9BAA1F2DF} {23E1C437-A951-5943-8639-A17F3CF2E606} = {5812E712-6213-4372-B095-9EB9BAA1F2DF} {74827EBD-93DC-5110-BA95-3F2AB029B6B0} = {5812E712-6213-4372-B095-9EB9BAA1F2DF} + {AC40FF01-426E-4838-A317-66354CEFAE88} = {E2A982F2-4B1A-48B1-8D77-A17A589C58D7} EndGlobalSection EndGlobal diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt index 7ad4795be7..961cc87b22 100644 --- a/rpcs3/CMakeLists.txt +++ b/rpcs3/CMakeLists.txt @@ -69,7 +69,7 @@ ${OPENAL_INCLUDE_DIR} "${RPCS3_SRC_DIR}/Loader" "${RPCS3_SRC_DIR}/Crypto" "${RPCS3_SRC_DIR}/.." -"${RPCS3_SRC_DIR}/../asmjit/src/asmjit" +"${RPCS3_SRC_DIR}/../asmjitsrc/asmjit/src/asmjit" ) link_directories("${RPCS3_SRC_DIR}/../ffmpeg/${PLATFORM_ARCH}/lib") @@ -94,7 +94,7 @@ RPCS3_SRC add_executable(rpcs3 ${RPCS3_SRC}) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -L${CMAKE_CURRENT_BINARY_DIR}/../asmjit/") #hack because the asmjit cmake file force fno exceptions +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -L${CMAKE_CURRENT_BINARY_DIR}/../asmjitsrc/asmjit/") #hack because the asmjit cmake file force fno exceptions target_link_libraries(rpcs3 asmjit.a ${wxWidgets_LIBRARIES} ${OPENAL_LIBRARY} ${GLEW_LIBRARY} ${OPENGL_LIBRARIES} libavformat.a libavcodec.a libavutil.a libswresample.a libswscale.a ${ZLIB_LIBRARIES}) #set_target_properties(rpcs3 PROPERTIES COTIRE_CXX_PREFIX_HEADER_INIT "${RPCS3_SRC_DIR}/stdafx.h") diff --git a/rpcs3/rpcs3.vcxproj b/rpcs3/rpcs3.vcxproj index 17809ade40..fa66ff2147 100644 --- a/rpcs3/rpcs3.vcxproj +++ b/rpcs3/rpcs3.vcxproj @@ -1,4 +1,4 @@ - + @@ -95,7 +95,7 @@ - .\;..\wxWidgets\include;..\SDL-1.3.0-5538\include;..\SDL_image-1.2.10;..\pthreads-2.8.0;..\;..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86\Include;.\OpenAL\include;$(IncludePath);..\asmjit\src\asmjit + .\;..\wxWidgets\include;..\SDL-1.3.0-5538\include;..\SDL_image-1.2.10;..\pthreads-2.8.0;..\;..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86\Include;.\OpenAL\include;$(IncludePath);..\asmjitsrc\asmjit\src\asmjit $(SolutionDir)bin\ ..\libs\$(Configuration)\;$(LibraryPath) $(ProjectName)-$(PlatformShortName)-dbg @@ -107,7 +107,7 @@ $(ProjectName)-$(PlatformShortName)-dbg - .\;..\wxWidgets\include;..\SDL-1.3.0-5538\include;..\SDL_image-1.2.10;..\pthreads-2.8.0;..\;..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\Include;.\OpenAL\include;$(IncludePath);..\asmjit\src\asmjit + .\;..\wxWidgets\include;..\SDL-1.3.0-5538\include;..\SDL_image-1.2.10;..\pthreads-2.8.0;..\;..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\Include;.\OpenAL\include;$(IncludePath);..\asmjitsrc\asmjit\src\asmjit $(SolutionDir)bin\ ..\libs\$(Configuration)\;$(LibraryPath) $(ProjectName)-$(PlatformShortName)-dbg @@ -120,7 +120,7 @@ false - .\;..\wxWidgets\include;..\SDL-1.3.0-5538\include;..\SDL_image-1.2.10;..\pthreads-2.8.0;..\;..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86\Include;.\OpenAL\include;$(IncludePath);..\asmjit\src\asmjit + .\;..\wxWidgets\include;..\SDL-1.3.0-5538\include;..\SDL_image-1.2.10;..\pthreads-2.8.0;..\;..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86\Include;.\OpenAL\include;$(IncludePath);..\asmjitsrc\asmjit\src\asmjit $(SolutionDir)bin\ ..\libs\$(Configuration)\;$(LibraryPath) false @@ -129,7 +129,7 @@ false - .\;..\wxWidgets\include;..\SDL-1.3.0-5538\include;..\SDL_image-1.2.10;..\pthreads-2.8.0;..\;..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\Include;.\OpenAL\include;$(IncludePath);..\asmjit\src\asmjit + .\;..\wxWidgets\include;..\SDL-1.3.0-5538\include;..\SDL_image-1.2.10;..\pthreads-2.8.0;..\;..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\Include;.\OpenAL\include;$(IncludePath);..\asmjitsrc\asmjit\src\asmjit $(SolutionDir)bin\ ..\libs\$(Configuration)\;$(LibraryPath) false