-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1460 from Sonicadvance1/FEXRootFSFetcher
FEXRootFSFetcher: Adds a new tool to help set up a new RootFS
- Loading branch information
Showing
8 changed files
with
1,024 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
set(NAME FEXRootFSFetcher) | ||
set(SRCS Main.cpp | ||
XXFileHash.cpp) | ||
|
||
add_executable(${NAME} ${SRCS}) | ||
list(APPEND LIBS FEXCore Common CommonCore) | ||
|
||
target_include_directories(${NAME} PRIVATE ${CMAKE_SOURCE_DIR}/Source/) | ||
|
||
if (CMAKE_BUILD_TYPE MATCHES "RELEASE") | ||
target_link_options(${NAME} | ||
PRIVATE | ||
"LINKER:--gc-sections" | ||
"LINKER:--strip-all" | ||
"LINKER:--as-needed" | ||
) | ||
endif() | ||
|
||
install(TARGETS ${NAME} | ||
RUNTIME | ||
DESTINATION bin | ||
COMPONENT runtime) | ||
|
||
target_link_libraries(${NAME} PRIVATE ${LIBS} ${STATIC_PIE_OPTIONS} ${PTHREAD_LIB}) |
Oops, something went wrong.