mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
12 lines
350 B
Text
12 lines
350 B
Text
|
cmake_minimum_required( VERSION 2.6 )
|
||
|
project( lemon )
|
||
|
|
||
|
set( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG" )
|
||
|
|
||
|
add_executable( lemon lemon.c )
|
||
|
|
||
|
# Lemon wants lempar.c in its directory
|
||
|
add_custom_command( TARGET lemon
|
||
|
POST_BUILD
|
||
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/lempar.c ${CMAKE_CURRENT_BINARY_DIR} )
|