mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Update armips with regex workaround
This commit is contained in:
+3
-2
@@ -356,6 +356,9 @@ add_library(Common STATIC
|
||||
Common/ThreadSafeList.h
|
||||
Common/Timer.cpp
|
||||
Common/Timer.h)
|
||||
|
||||
add_subdirectory(ext)
|
||||
|
||||
include_directories(Common)
|
||||
setup_target_project(Common Common)
|
||||
|
||||
@@ -374,8 +377,6 @@ if(USING_GLES2)
|
||||
find_package(X11)
|
||||
endif()
|
||||
|
||||
add_subdirectory(ext)
|
||||
|
||||
add_library(vjson STATIC
|
||||
ext/native/ext/vjson/json.cpp
|
||||
ext/native/ext/vjson/json.h
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef _WIN32_WINNT
|
||||
|
||||
#if _MSC_VER < 1700
|
||||
@@ -36,3 +37,4 @@
|
||||
#include "CommonWindows.h"
|
||||
#include <tchar.h>
|
||||
#include <vector>
|
||||
#endif
|
||||
|
||||
+4
-1
@@ -1,9 +1,12 @@
|
||||
add_subdirectory(cmake/armips)
|
||||
set(ARMIPS_REGEXP OFF CACHE BOOL "" FORCE)
|
||||
|
||||
add_subdirectory(armips)
|
||||
if(NOT USING_GLES2)
|
||||
add_subdirectory(glew)
|
||||
endif()
|
||||
|
||||
set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "let's not build binaries we don't need" FORCE)
|
||||
|
||||
add_subdirectory(glslang)
|
||||
add_subdirectory(snappy)
|
||||
add_subdirectory(udis86)
|
||||
|
||||
+1
-1
Submodule ext/armips updated: 309a15145a...11f2681678
@@ -1,12 +1,19 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project(armips)
|
||||
|
||||
option(ARMIPS_REGEXP "Enable regexp expression functions" ON)
|
||||
|
||||
if(NOT WIN32)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++11")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||
endif()
|
||||
|
||||
set(ARMIPS_PATH ../../armips)
|
||||
|
||||
if(ARMIPS_REGEXP)
|
||||
add_definitions(-DARMIPS_REGEXP=1)
|
||||
endif()
|
||||
|
||||
include_directories(${ARMIPS_PATH})
|
||||
|
||||
add_library(armips
|
||||
${ARMIPS_PATH}/Util/ByteArray.cpp
|
||||
|
||||
Reference in New Issue
Block a user