mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Update cmake files for tizen_obs build (#402)
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
9fdfe87fba
commit
105a75020d
4 changed files with 132 additions and 0 deletions
33
build/cmake/toolchain_tizen_obs_aarch64.cmake
Normal file
33
build/cmake/toolchain_tizen_obs_aarch64.cmake
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright (c) 2019-present Samsung Electronics Co., Ltd
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Lesser General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with this library; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
# USA
|
||||
|
||||
SET (GC_CONFIGURE_HOST)
|
||||
|
||||
SET (ESCARGOT_CXXFLAGS -fno-rtti)
|
||||
|
||||
SET (ESCARGOT_DEFINITIONS -DESCARGOT_64=1 -DENABLE_INTL)
|
||||
|
||||
SET (ESCARGOT_CXXFLAGS_DEBUG)
|
||||
SET (ESCARGOT_CXXFLAGS_RELEASE)
|
||||
|
||||
SET (ESCARGOT_LDFLAGS -lpthread -lrt -Wl,--gc-sections)
|
||||
|
||||
SET (ESCARGOT_LIBRARIES)
|
||||
SET (ESCARGOT_INCDIRS)
|
||||
|
||||
SET (GC_CFLAGS_ARCH)
|
||||
SET (GC_LDFLAGS_ARCH)
|
||||
33
build/cmake/toolchain_tizen_obs_i686.cmake
Normal file
33
build/cmake/toolchain_tizen_obs_i686.cmake
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright (c) 2019-present Samsung Electronics Co., Ltd
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Lesser General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with this library; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
# USA
|
||||
|
||||
SET (GC_CONFIGURE_HOST)
|
||||
|
||||
SET (ESCARGOT_CXXFLAGS -fno-rtti -m32 -mfpmath=sse -msse -msse2)
|
||||
|
||||
SET (ESCARGOT_DEFINITIONS -DESCARGOT_32=1 -DENABLE_INTL)
|
||||
|
||||
SET (ESCARGOT_CXXFLAGS_DEBUG)
|
||||
SET (ESCARGOT_CXXFLAGS_RELEASE)
|
||||
|
||||
SET (ESCARGOT_LDFLAGS -lpthread -lrt -Wl,--gc-sections -m32)
|
||||
|
||||
SET (ESCARGOT_LIBRARIES)
|
||||
SET (ESCARGOT_INCDIRS)
|
||||
|
||||
SET (GC_CFLAGS_ARCH "-m32")
|
||||
SET (GC_LDFLAGS_ARCH "-m32")
|
||||
33
build/cmake/toolchain_tizen_obs_x64.cmake
Normal file
33
build/cmake/toolchain_tizen_obs_x64.cmake
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright (c) 2019-present Samsung Electronics Co., Ltd
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Lesser General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with this library; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
# USA
|
||||
|
||||
SET (GC_CONFIGURE_HOST)
|
||||
|
||||
SET (ESCARGOT_CXXFLAGS -fno-rtti)
|
||||
|
||||
SET (ESCARGOT_DEFINITIONS -DESCARGOT_64=1 -DENABLE_INTL)
|
||||
|
||||
SET (ESCARGOT_CXXFLAGS_DEBUG)
|
||||
SET (ESCARGOT_CXXFLAGS_RELEASE)
|
||||
|
||||
SET (ESCARGOT_LDFLAGS -lpthread -lrt -Wl,--gc-sections)
|
||||
|
||||
SET (ESCARGOT_LIBRARIES)
|
||||
SET (ESCARGOT_INCDIRS)
|
||||
|
||||
SET (GC_CFLAGS_ARCH)
|
||||
SET (GC_LDFLAGS_ARCH)
|
||||
33
build/cmake/toolchain_tizen_obs_x86.cmake
Normal file
33
build/cmake/toolchain_tizen_obs_x86.cmake
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright (c) 2019-present Samsung Electronics Co., Ltd
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Lesser General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with this library; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
# USA
|
||||
|
||||
SET (GC_CONFIGURE_HOST)
|
||||
|
||||
SET (ESCARGOT_CXXFLAGS -fno-rtti -m32 -mfpmath=sse -msse -msse2)
|
||||
|
||||
SET (ESCARGOT_DEFINITIONS -DESCARGOT_32=1 -DENABLE_INTL)
|
||||
|
||||
SET (ESCARGOT_CXXFLAGS_DEBUG)
|
||||
SET (ESCARGOT_CXXFLAGS_RELEASE)
|
||||
|
||||
SET (ESCARGOT_LDFLAGS -lpthread -lrt -Wl,--gc-sections -m32)
|
||||
|
||||
SET (ESCARGOT_LIBRARIES)
|
||||
SET (ESCARGOT_INCDIRS)
|
||||
|
||||
SET (GC_CFLAGS_ARCH "-m32")
|
||||
SET (GC_LDFLAGS_ARCH "-m32")
|
||||
Loading…
Add table
Add a link
Reference in a new issue