GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — WatchInotify/CMakeLists.txt at master · FreeSoaring/WatchInotify

Expand file tree

/

CMakeLists.txt

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
27 lines (23 loc) · 1.43 KB
/

CMakeLists.txt

Copy path

File metadata and controls

27 lines (23 loc) · 1.43 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required(VERSION 3.2.2) # 最低CMake版本要求
##################### ⬇Android设置⬇ #####################
set(CMAKE_SYSTEM_NAME ANDROID) # 设置目标编译平台参数 Android
set(CMAKE_SYSTEM_VERSION 28) # 系统版本
set(ANDROID_PLATFORM 28) # 平台版本
set(ANDROID_ABI arm64-v8a) # 设置目标构架 armeabi-v7a arm64-v8a x86 x86_64
##
## 由于ANDROID_ABI一次编译只能设置一种架构
## 因此该参数在build.sh脚本中单独设置 并且每种架构编译一次
##C:/Users/Ssage/AppData/Local/Android/Sdk/ndk/23.1.7779620
set(ANDROID_NDK C:/Users/CZX/AppData/Local/Android/Sdk/ndk/22.1.7171670) # 设置ndk路径
set(CMAKE_TOOLCHAIN_FILE C:/Users/CZX/AppData/Local/Android/Sdk/ndk/22.1.7171670/build/cmake/android.toolchain.cmake) # 设置交叉编译链的cmake配置
##################### ⬆Android设置⬆ #####################
project(NativeSurface VERSION 0.1.0) # 工程名称 + 版本
##################### ⬇项目相关参数设置⬇ #####################
set(CMAKE_CXX_STANDARD 17) # c++ 标准
set(CMAKE_CXX_FLAGS "-fno-rtti -fno-exceptions -DNDEBUG -fvisibility=hidden -Wno-narrowing -fdeclspec -pthread -w -s -fexceptions -Wall -O3"
) # 参数
##################### ⬆项目相关参数设置⬆ #####################
##################### ⬇子模块设置⬇ #####################
add_subdirectory(Inotify)
add_subdirectory(Cheating)
##################### ⬆子模块设置⬆ #####################
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.