Skip to content

Commit

Permalink
Remove unused files, move and organize more
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernthedev committed Nov 15, 2023
1 parent 9996e53 commit c573814
Show file tree
Hide file tree
Showing 26 changed files with 24 additions and 1,983 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-ndk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ jobs:
- name: Build
run: |
cd ${GITHUB_WORKSPACE}
qpm-rust s build
qpm-rust qmod build
- name: Create Qmod
run: |
pwsh -Command ./createqmod.ps1 ${{env.qmodName}}
qpm s build
qpm qmod build
qpm s qmod ${{env.qmodName}}
- name: Get Library Name
id: libname
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ jobs:
cd ${GITHUB_WORKSPACE}
qpm s build
qpm qmod build
- name: Create Qmod
run: |
pwsh -Command ./createqmod.ps1 ${{env.qmodName}}
qpm s qmod ${{env.qmodName}}
- name: Get Library Name
id: libname
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# include some defines automatically made by qpm
include(qpm_defines_fixed.cmake)
include(./cmake/qpm.cmake)

# override mod id
set(MOD_ID "paper")
Expand All @@ -20,7 +20,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED 20)

set(CMAKE_CXX_EXTENSIONS OFF)

#Output everything to the same folder
# Output everything to the same folder
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build)
Expand Down Expand Up @@ -55,4 +55,4 @@ if(NOT DEFINED QPM_ANDROID)
endif()

add_subdirectory(${SOURCE_DIR})
add_subdirectory(bootstrapper)
add_subdirectory(src_bootstrapper)
27 changes: 0 additions & 27 deletions CMakePresets.json

This file was deleted.

79 changes: 0 additions & 79 deletions buildQMOD.ps1

This file was deleted.

File renamed without changes.
10 changes: 8 additions & 2 deletions qpm.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@
"url": "https://github.com/Fernthedev/paperlog",
"additionalData": {
"overrideSoName": "libpaperlog.so",
"cmake": true
"cmake": false
}
},
"workspace": {
"scripts": {
"build": [
"pwsh ./build.ps1"
"pwsh ./scripts/build.ps1"
],
"copy": [
"pwsh ./scripts/copy.ps1"
],
"qmod": [
"pwsh ./scripts/createqmod.ps1 $0"
]
}
},
Expand Down
57 changes: 0 additions & 57 deletions qpm_defines.cmake

This file was deleted.

Loading

0 comments on commit c573814

Please sign in to comment.