37 lines
633 B
CMake
37 lines
633 B
CMake
cmake_minimum_required(VERSION 3.27)
|
|
project(skola C)
|
|
|
|
set(CMAKE_C_STANDARD 23)
|
|
|
|
add_executable(skola calc.c
|
|
kruh.c
|
|
main_rovnice.c
|
|
newoldmain.c
|
|
oldmain.c
|
|
tyzden.c
|
|
main.c
|
|
tyzden.h
|
|
newoldmain.h
|
|
main_rovnice.h
|
|
kruh.h
|
|
calc.h
|
|
znak.c
|
|
lepsiznak.c
|
|
lepsiznak.h
|
|
bomba.c
|
|
bomba.h
|
|
do_while_znak.c
|
|
do_while_znak.h
|
|
for.c
|
|
for.h
|
|
array.c
|
|
array.h
|
|
array2d.c
|
|
array2d.h
|
|
myRand.c
|
|
hviezdicky.c
|
|
hviezdicky.h
|
|
)
|
|
|
|
target_link_libraries(skola m)
|