makelist test
This commit is contained in:
parent
b8f38f4025
commit
2ae29be357
30
CMakeLists.txt
Normal file
30
CMakeLists.txt
Normal file
@ -0,0 +1,30 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(info2Praktikum_Wortsalat C)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
# Include paths
|
||||
include_directories(
|
||||
Start_Windows
|
||||
Start_Windows/raylib
|
||||
Start_Windows/unity
|
||||
)
|
||||
|
||||
# Executable target
|
||||
add_executable(info2Praktikum_Wortsalat
|
||||
Start_Windows/game.c
|
||||
Start_Windows/graphicalGame.c
|
||||
Start_Windows/input.c
|
||||
Start_Windows/main.c
|
||||
# Start_Windows/unity/unity.c
|
||||
)
|
||||
|
||||
# Link static libraries
|
||||
target_link_libraries(info2Praktikum_Wortsalat
|
||||
${CMAKE_SOURCE_DIR}/Start_Windows/windows/libraylib_mingw.a
|
||||
)
|
||||
|
||||
# Optional: falls du auf Windows bist und -lopengl32 o.ä. brauchst:
|
||||
if (WIN32)
|
||||
target_link_libraries(info2Praktikum_Wortsalat opengl32 gdi32 winmm)
|
||||
endif()
|
||||
Loading…
x
Reference in New Issue
Block a user