forked from enlightenment/efl
build: use CMAKE defined variables
This commit is contained in:
parent
6c87f62b90
commit
34074fd0e7
|
@ -15,13 +15,6 @@ set(EFL_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
|
||||||
set(EFL_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
set(EFL_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
||||||
set(MODULE_ARCH "v-${VMAJ}.${VMIN}")
|
set(MODULE_ARCH "v-${VMAJ}.${VMIN}")
|
||||||
|
|
||||||
#change when on windows
|
|
||||||
if (WIN32)
|
|
||||||
set(SHARED_LIB_SUFFIX ".dll")
|
|
||||||
else()
|
|
||||||
set(SHARED_LIB_SUFFIX ".so")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
EFL_OPTION(BUILD_PROFILE "How to build EFL" dev CHOICE release;dev;debug)
|
EFL_OPTION(BUILD_PROFILE "How to build EFL" dev CHOICE release;dev;debug)
|
||||||
EFL_OPTION(EFL_NOLEGACY_API_SUPPORT "Whenever to disable non-Eo (Legacy) APIs" ON)
|
EFL_OPTION(EFL_NOLEGACY_API_SUPPORT "Whenever to disable non-Eo (Legacy) APIs" ON)
|
||||||
EFL_OPTION(EFL_EO_API_SUPPORT "Whenever to enable new Eo APIs" ON)
|
EFL_OPTION(EFL_EO_API_SUPPORT "Whenever to enable new Eo APIs" ON)
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
#cmakedefine EINA_STATIC_BUILD_PASS_THROUGH 1
|
#cmakedefine EINA_STATIC_BUILD_PASS_THROUGH 1
|
||||||
|
|
||||||
#define MODULE_ARCH "@MODULE_ARCH@"
|
#define MODULE_ARCH "@MODULE_ARCH@"
|
||||||
#define SHARED_LIB_SUFFIX "@SHARED_LIB_SUFFIX@"
|
#define SHARED_LIB_SUFFIX "@CMAKE_SHARED_LIBRARY_SUFFIX@"
|
||||||
|
#define EXEEXT "@CMAKE_EXECUTABLE_SUFFIX@"
|
||||||
|
|
||||||
#if defined (HAVE_LISTXATTR) && defined (HAVE_SETXATTR) && defined (HAVE_GETXATTR)
|
#if defined (HAVE_LISTXATTR) && defined (HAVE_SETXATTR) && defined (HAVE_GETXATTR)
|
||||||
#define HAVE_XATTR
|
#define HAVE_XATTR
|
||||||
|
|
Loading…
Reference in New Issue