base gint project
This commit is contained in:
parent
7886810d29
commit
6de3ccda3b
|
@ -0,0 +1,9 @@
|
|||
BasedOnStyle: LLVM
|
||||
IndentWidth: 8
|
||||
UseTab: AlignWithSpaces
|
||||
BreakBeforeBraces: Linux
|
||||
AllowShortIfStatementsOnASingleLine: true
|
||||
IndentCaseLabels: false
|
||||
ColumnLimit: 80
|
||||
AlignConsecutiveMacros: true
|
||||
AlwaysBreakAfterReturnType: TopLevelDefinitions
|
|
@ -0,0 +1,2 @@
|
|||
build*
|
||||
*.g*a
|
|
@ -0,0 +1,31 @@
|
|||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
project(JTMM2 C)
|
||||
|
||||
include(GenerateG3A)
|
||||
include(Fxconv)
|
||||
|
||||
find_package(Gint 2.6.0 REQUIRED)
|
||||
|
||||
include_directories(inc)
|
||||
|
||||
set(SOURCES
|
||||
src/main.c
|
||||
)
|
||||
|
||||
set(ASSETS
|
||||
)
|
||||
|
||||
set(FLAGS -std=c99 -Os -Wall -Wextra -Wshadow)
|
||||
|
||||
fxconv_declare_assets(${ASSETS} WITH_METADATA)
|
||||
|
||||
add_executable(proj ${SOURCES} ${ASSETS})
|
||||
target_compile_options(proj PRIVATE ${FLAGS})
|
||||
target_link_libraries(proj Gint::Gint)
|
||||
target_link_options(proj PRIVATE -Wl,-Map=map)
|
||||
|
||||
generate_g3a(TARGET proj
|
||||
OUTPUT "jtmm2.g3a"
|
||||
NAME "JTMM2"
|
||||
ICONS res/icon/uns.png res/icon/sel.png)
|
Binary file not shown.
After Width: | Height: | Size: 428 B |
Binary file not shown.
After Width: | Height: | Size: 411 B |
|
@ -0,0 +1,5 @@
|
|||
int
|
||||
main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue