-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use FetchContent instead including subtree
因为白酱不喜欢有这么多文件
- Loading branch information
Showing
42 changed files
with
47 additions
and
13,656 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,25 @@ | ||
cmake_minimum_required(VERSION 3.17) | ||
# project(xdgmime LANGUAGES C) | ||
|
||
add_library(libxdgmime STATIC | ||
${xdgmime_SOURCE_DIR}/src/xdgmime.c | ||
${xdgmime_SOURCE_DIR}/src/xdgmimeglob.c | ||
${xdgmime_SOURCE_DIR}/src/xdgmimeint.c | ||
${xdgmime_SOURCE_DIR}/src/xdgmimemagic.c | ||
${xdgmime_SOURCE_DIR}/src/xdgmimealias.c | ||
${xdgmime_SOURCE_DIR}/src/xdgmimeparent.c | ||
${xdgmime_SOURCE_DIR}/src/xdgmimecache.c | ||
${xdgmime_SOURCE_DIR}/src/xdgmimeicon.c | ||
) | ||
|
||
add_executable(test-mime ${xdgmime_SOURCE_DIR}/src/test-mime.c) | ||
target_link_libraries(test-mime PRIVATE libxdgmime) | ||
|
||
add_executable(test-mime-data ${xdgmime_SOURCE_DIR}/src/test-mime-data.c) | ||
target_link_libraries(test-mime-data PRIVATE libxdgmime) | ||
|
||
add_executable(print-mime-data ${xdgmime_SOURCE_DIR}/src/print-mime-data.c) | ||
target_link_libraries(print-mime-data PRIVATE libxdgmime) | ||
|
||
target_include_directories(libxdgmime PUBLIC ${xdgmime_SOURCE_DIR}/src/) | ||
target_compile_definitions(libxdgmime PRIVATE HAVE_MMAP) |
25 changes: 0 additions & 25 deletions
25
.github/workflows/encodingcheck/is_utf8/.github/workflows/ubuntu22-sanitize.yml
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
.github/workflows/encodingcheck/is_utf8/.github/workflows/ubuntu22.yml
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
.github/workflows/encodingcheck/is_utf8/.github/workflows/vs17.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.