hedgewars/CMakeLists.txt
changeset 782 e2d2b84aa776
parent 781 4101f0f1c0b9
child 802 ed5450a89b96
equal deleted inserted replaced
781:4101f0f1c0b9 782:e2d2b84aa776
     1 configure_file(${hedgewars_SOURCE_DIR}/hedgewars/proto.inc.in 
     1 configure_file(${hedgewars_SOURCE_DIR}/hedgewars/proto.inc.in 
     2 	${CMAKE_CURRENT_BINARY_DIR}/proto.inc)
     2 	${CMAKE_CURRENT_BINARY_DIR}/proto.inc)
     3 
     3 
     4 set(fpc_tryexe fpc)
     4 set(fpc_tryexe fpc)
     5 set(hwengine_project "hwengine.dpr")
     5 set(hwengine_project ${hedgewars_SOURCE_DIR}/hedgewars/hwengine.dpr)
     6 
     6 
     7 set(engine_sources
     7 set(engine_sources
     8 	${hwengine_project}
     8 	${hwengine_project}
     9 	SDLh.pas
     9 	SDLh.pas
    10 	uAI.pas
    10 	uAI.pas
    36 	CCHandlers.inc
    36 	CCHandlers.inc
    37 	GSHandlers.inc
    37 	GSHandlers.inc
    38 	HHHandlers.inc
    38 	HHHandlers.inc
    39 	SinTable.inc
    39 	SinTable.inc
    40 	options.inc
    40 	options.inc
    41 	playlist.inc
    41 	${CMAKE_CURRENT_BINARY_DIR}/playlist.inc
    42 	${CMAKE_CURRENT_BINARY_DIR}/proto.inc
    42 	${CMAKE_CURRENT_BINARY_DIR}/proto.inc
    43 	tunsetborder.inc
    43 	tunsetborder.inc
    44 	)
    44 	)
    45 
    45 
    46 find_program(fpc_executable ${fpc_tryexe})
    46 find_program(fpc_executable ${fpc_tryexe})