cmake: add embryo.

This commit is contained in:
Gustavo Sverzut Barbieri 2017-01-26 16:36:21 -02:00
parent d31430d1a0
commit a87ba1d6ad
4 changed files with 47 additions and 1 deletions

View File

@ -39,6 +39,7 @@ EFL_LIB(emile)
EFL_LIB(eet)
EFL_LIB(ecore)
EFL_LIB(eldbus)
EFL_LIB(embryo)
EFL_OPTIONS_SUMMARY()

View File

@ -1131,7 +1131,7 @@ function(EFL_BIN _binname)
set_target_properties(${_bintarget} PROPERTIES
LINK_FLAGS "${_link_flags}"
COMPILE_FLAGS "${_compile_flags}")
COMPILE_FLAGS "${_compile_flags} -DPACKAGE_DATA_DIR=\\\"${CMAKE_INSTALL_FULL_DATADIR}/${_target}/\\\" -DPACKAGE_SRC_DIR=\\\"${CMAKE_SOURCE_DIR}/\\\"")
if(INSTALL_DIR)
install(TARGETS ${_bintarget} RUNTIME DESTINATION ${INSTALL_DIR})

View File

@ -0,0 +1,24 @@
set(OUTPUT_NAME embryo_cc)
set(LIBRARIES
eina
m
)
set(SOURCES
embryo_cc_amx.h
embryo_cc_osdefs.h
embryo_cc_prefix.c
embryo_cc_prefix.h
embryo_cc_sc.h
embryo_cc_sc1.c
embryo_cc_sc2.c
embryo_cc_sc3.c
embryo_cc_sc4.c
embryo_cc_sc5.c
embryo_cc_sc6.c
embryo_cc_sc7.c
embryo_cc_scexpand.c
embryo_cc_sclist.c
embryo_cc_scvars.c
)

View File

@ -0,0 +1,21 @@
set(DESCRIPTION "A small virtual machine engine and bytecode compiler")
set(LIBRARIES
eina
m
)
set(PUBLIC_HEADERS
Embryo.h
)
set(SOURCES
embryo_amx.c
embryo_args.c
embryo_float.c
embryo_main.c
embryo_private.h
embryo_rand.c
embryo_str.c
embryo_time.c
)