15 lines
369 B
CMake
15 lines
369 B
CMake
file(GLOB_RECURSE BETTOLAS_SOURCES "src/*.cpp")
|
|
|
|
add_executable(bettolas
|
|
${BETTOLAS_SOURCES}
|
|
)
|
|
|
|
find_package(SDL3 REQUIRED)
|
|
|
|
target_link_libraries(bettolas PRIVATE bettola SDL3::SDL3 SDL3_net)
|
|
|
|
target_link_directories(bettolas PRIVATE ${sdl_net_BINARY_DIR})
|
|
|
|
target_include_directories(bettolas PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src
|
|
${sdl_net_SOURCE_DIR}/include)
|