@ -20,10 +20,10 @@ include_directories(
# c o m p i l a t i o n , I f i t i s p o s s i b l e i n
# c o m p i l a t i o n , I f i t i s p o s s i b l e i n
# g e n e r a l l .
# g e n e r a l l .
add_executable( bin2c bin2c.c )
tde_ add_executable( bin2c
target_link_libraries ( bin2c z )
S O U R C E S b i n 2 c . c
L I N K z
get_target_property ( BIN2C_EXE bin2c LOCATION )
)
foreach ( _img goal.png halfstone_1.png halfstone_2.png halfstone_3.png
foreach ( _img goal.png halfstone_1.png halfstone_2.png halfstone_3.png
h a l f s t o n e _ 4 . p n g m a n . p n g o b j e c t . p n g s a v e m a n . p n g s t o n e _ 1 . p n g s t o n e _ 2 . p n g
h a l f s t o n e _ 4 . p n g m a n . p n g o b j e c t . p n g s a v e m a n . p n g s t o n e _ 1 . p n g s t o n e _ 2 . p n g
@ -33,7 +33,7 @@ foreach( _img goal.png halfstone_1.png halfstone_2.png halfstone_3.png
endforeach ( )
endforeach ( )
add_custom_command ( OUTPUT ${ CMAKE_CURRENT_BINARY_DIR } /data.c
add_custom_command ( OUTPUT ${ CMAKE_CURRENT_BINARY_DIR } /data.c
C O M M A N D "$ { B I N 2 C _ E X E } " \ " \ " $ { I M A G E S }
C O M M A N D bi n 2 c \ " \ " $ { I M A G E S }
D E P E N D S b i n 2 c $ { I M A G E S }
D E P E N D S b i n 2 c $ { I M A G E S }
W O R K I N G _ D I R E C T O R Y " $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } "
W O R K I N G _ D I R E C T O R Y " $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } "
)
)