This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
forked from games-on-whales/wolf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added automatic encoder selection - Added `run_gid` and `run_uid` - Added boolean start_virtual_compositor
- Loading branch information
Showing
22 changed files
with
919 additions
and
472 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Taken from: https://stackoverflow.com/a/52136398 | ||
# The main point for this is that it'll allow to import libraries as SYSTEM | ||
# So that warnings from libraries will be suppressed | ||
function(target_link_libraries_system target) | ||
set(options PRIVATE PUBLIC INTERFACE) | ||
cmake_parse_arguments(TLLS "${options}" "" "" ${ARGN}) | ||
foreach (op ${options}) | ||
if (TLLS_${op}) | ||
set(scope ${op}) | ||
endif () | ||
endforeach (op) | ||
set(libs ${TLLS_UNPARSED_ARGUMENTS}) | ||
|
||
foreach (lib ${libs}) | ||
get_target_property(lib_include_dirs ${lib} INTERFACE_INCLUDE_DIRECTORIES) | ||
if (lib_include_dirs) | ||
if (scope) | ||
target_include_directories(${target} SYSTEM ${scope} ${lib_include_dirs}) | ||
else () | ||
target_include_directories(${target} SYSTEM PRIVATE ${lib_include_dirs}) | ||
endif () | ||
else () | ||
message("Warning: ${lib} doesn't set INTERFACE_INCLUDE_DIRECTORIES. No include_directories set.") | ||
endif () | ||
if (scope) | ||
target_link_libraries(${target} ${scope} ${lib}) | ||
else () | ||
target_link_libraries(${target} ${lib}) | ||
endif () | ||
endforeach () | ||
endfunction(target_link_libraries_system) |
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
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
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
Oops, something went wrong.