-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
25 lines (19 loc) · 989 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
cmake_minimum_required(VERSION 3.28.2)
include(../sdk/config.cmake)
project(sieelf_crazy_saver C)
include_directories("../libsie/src/include")
link_libraries(crt crt_helper c gcc ft sie)
file(GLOB_RECURSE SOURCES "src/*.c")
add_definitions(-DSWILIB_MODERN)
add_executable(SieCrazySaver_ELKA ${SOURCES})
target_sdk_setup(SieCrazySaver_ELKA ELKA)
target_link_directories(SieCrazySaver_ELKA PUBLIC "../libsie/build/lib/ELKA")
target_compile_options(SieCrazySaver_ELKA BEFORE PUBLIC -std=gnu99 -Wall -Werror)
add_executable(SieCrazySaver_NSG ${SOURCES})
target_sdk_setup(SieCrazySaver_NSG NSG)
target_link_directories(SieCrazySaver_NSG PUBLIC "../libsie/build/lib/NSG")
target_compile_options(SieCrazySaver_NSG BEFORE PUBLIC -std=gnu99 -Wall -Werror)
add_executable(SieCrazySaver_SG ${SOURCES})
target_sdk_setup(SieCrazySaver_SG SG)
target_link_directories(SieCrazySaver_SG PUBLIC "../libsie/build/lib/SG")
target_compile_options(SieCrazySaver_SG BEFORE PUBLIC -std=gnu99 -Wall -Werror)