Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
- Remove duplicate compiler definitions
- Remove unused assembly files
- add ASM to project languages
  • Loading branch information
midwan committed Jan 11, 2025
1 parent 1976d85 commit eb0d10a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1,017 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")

project(amiberry-lite
VERSION ${VERSION}
LANGUAGES C CXX
LANGUAGES C CXX ASM
DESCRIPTION "Optimized Amiga emulator for various platforms"
HOMEPAGE_URL "https://amiberry.com"
)
Expand Down
10 changes: 0 additions & 10 deletions cmake/SourceFiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -431,16 +431,6 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE
-DAMIBERRY_LIBDIR="${CMAKE_INSTALL_FULL_LIBDIR}/${PROJECT_NAME}"
)

if (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "arm64")
target_compile_definitions(${PROJECT_NAME} PRIVATE
CPU_AARCH64
)
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "arm")
target_compile_definitions(${PROJECT_NAME} PRIVATE
CPU_arm ARMV6_ASSEMBLY ARMV6T2 USE_ARMNEON ARM_HAS_DIV
)
endif ()

target_compile_options(${PROJECT_NAME} PRIVATE -fno-pie)
target_link_options(${PROJECT_NAME} PRIVATE -no-pie)

Expand Down
28 changes: 0 additions & 28 deletions src/osdep/aarch64_helper_min.s

This file was deleted.

Loading

0 comments on commit eb0d10a

Please sign in to comment.