mirror of
https://github.com/siemens-mobile-hacks/89_theme_engine.git
synced 2026-11-25 21:47:27 +00:00
Fix CMakeLists.txt
This commit is contained in:
parent
0c2586e898
commit
595bdbaf99
1 changed files with 12 additions and 7 deletions
|
|
@ -1,9 +1,14 @@
|
|||
link_libraries(crt crt_helper gcc c m)
|
||||
file(GLOB_RECURSE SOURCES "src/*.c")
|
||||
|
||||
add_definitions(-DSWILIB_MODERN)
|
||||
|
||||
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS "src/*.c")
|
||||
add_executable(89ThemeEngine_ELKA ${SOURCES})
|
||||
|
||||
target_sdk_setup(89ThemeEngine_ELKA ELKA)
|
||||
target_compile_options(89ThemeEngine_ELKA BEFORE PUBLIC -std=c11 -Wall -Werror)
|
||||
set_target_properties(89ThemeEngine_ELKA PROPERTIES OUTPUT_NAME "89ThemeEngine")
|
||||
target_link_libraries(89ThemeEngine_ELKA PRIVATE crt crt_helper gcc c m)
|
||||
|
||||
target_compile_definitions(89ThemeEngine_ELKA PRIVATE SWILIB_MODERN)
|
||||
target_compile_options(89ThemeEngine_ELKA PRIVATE -Wall -Werror)
|
||||
set_target_properties(89ThemeEngine_ELKA PROPERTIES
|
||||
C_STANDARD 11
|
||||
C_STANDARD_REQUIRED ON
|
||||
C_EXTENSIONS OFF
|
||||
OUTPUT_NAME "89ThemeEngine"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue