Skip to content

Commit

Permalink
embed res to source
Browse files Browse the repository at this point in the history
  • Loading branch information
plter committed Jun 9, 2021
1 parent 4c385d0 commit 4cd7ca2
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
21 changes: 21 additions & 0 deletions L10InlinePhoto/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 3.17)
project(L10InlinePhoto C)

set(CMAKE_C_STANDARD 11)

add_compile_definitions(THREAD_SAFE)

include_directories(
/usr/local/include
)

execute_process(
COMMAND sdl2-config --static-libs
OUTPUT_VARIABLE sdl2_static_libs_output
)

separate_arguments(sdl2_static_libs NATIVE_COMMAND ${sdl2_static_libs_output})

add_executable(L10InlinePhoto main.c)

target_link_options(L10InlinePhoto PRIVATE ${sdl2_static_libs})
80 changes: 80 additions & 0 deletions L10InlinePhoto/main.c

Large diffs are not rendered by default.

0 comments on commit 4cd7ca2

Please sign in to comment.