Skip to content

Commit

Permalink
Merge pull request #3331 from Sonicadvance1/move_irloader
Browse files Browse the repository at this point in the history
Tools: Moves IRLoader to independent folder
  • Loading branch information
Sonicadvance1 committed Dec 18, 2023
2 parents 8665490 + f2bcc14 commit 9dda960
Show file tree
Hide file tree
Showing 150 changed files with 210 additions and 191 deletions.
5 changes: 5 additions & 0 deletions Source/Tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ if (NOT MINGW_BUILD)
add_subdirectory(FEXServer/)
add_subdirectory(FEXBash/)
add_subdirectory(CodeSizeValidation/)
add_subdirectory(LinuxEmulation/)

if (BUILD_TESTS)
add_subdirectory(IRLoader/)
endif()
endif()

add_subdirectory(FEXLoader/)
File renamed without changes.
23 changes: 0 additions & 23 deletions Source/Tools/FEXLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ if (ENABLE_VIXL_SIMULATOR)
endif()

if (NOT MINGW_BUILD)
add_subdirectory(LinuxSyscalls)

if (TERMUX_BUILD)
# Termux needs android-shmem to get the shm emulation library.
list(APPEND LIBS android-shmem)
Expand All @@ -16,7 +14,6 @@ if (NOT MINGW_BUILD)
function(GenerateInterpreter NAME AsInterpreter)
add_executable(${NAME}
FEXLoader.cpp
VDSO_Emulation.cpp
AOT/AOTGenerator.cpp)

target_compile_definitions(${NAME} PRIVATE ${DEFINES})
Expand Down Expand Up @@ -181,24 +178,4 @@ if (BUILD_TESTS)
${LIBS}
${PTHREAD_LIB}
)

if (NOT MINGW_BUILD)
add_executable(IRLoader
IRLoader.cpp
)
target_compile_definitions(IRLoader PRIVATE ${DEFINES})

target_include_directories(IRLoader
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/Source/
${CMAKE_BINARY_DIR}/generated
)
target_link_libraries(IRLoader
PRIVATE
${LIBS}
LinuxEmulation
${PTHREAD_LIB}
fmt::fmt
)
endif()
endif()
168 changes: 0 additions & 168 deletions Source/Tools/FEXLoader/LinuxSyscalls/CMakeLists.txt

This file was deleted.

23 changes: 23 additions & 0 deletions Source/Tools/IRLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
list(APPEND LIBS FEXCore Common)

add_executable(IRLoader
IRLoader.cpp
)

if (ENABLE_VIXL_SIMULATOR)
target_compile_definitions(IRLoader PRIVATE "-DVIXL_SIMULATOR=1")
endif()

target_include_directories(IRLoader
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/Source/
${CMAKE_BINARY_DIR}/generated
)
target_link_libraries(IRLoader
PRIVATE
${LIBS}
LinuxEmulation
CommonTools
${PTHREAD_LIB}
fmt::fmt
)
File renamed without changes.

0 comments on commit 9dda960

Please sign in to comment.