1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

comment says the wrong thing. actually uses "Debug" by default.

This commit is contained in:
flying-dude 2022-07-27 15:39:47 +02:00
parent 1c7b7df25f
commit cc23e1b50b
3 changed files with 8 additions and 8 deletions

View file

@ -16,7 +16,7 @@ set(OUTPUT_RELEASE Release/bin)
project(${PROJECT_NAME} CXX C)
# Define Release by default.
# Define Debug by default.
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Debug")
message(STATUS "Build type not specified: Use Debug by default.")

View file

@ -15,10 +15,10 @@
inline size_t HashBytes(const uint8* ptr, size_t count) noexcept
{
#ifdef BF64
#ifdef BF64
const size_t _FNV_offset_basis = 14695981039346656037ULL;
const size_t _FNV_prime = 1099511628211ULL;
#else
#else
const size_t _FNV_offset_basis = 2166136261U;
const size_t _FNV_prime = 16777619U;
#endif
@ -29,7 +29,7 @@ inline size_t HashBytes(const uint8* ptr, size_t count) noexcept
val ^= (size_t)ptr[_Next];
val *= _FNV_prime;
}
return (val);
return (val);
}
template <typename T>
@ -245,7 +245,7 @@ int16 EndianSwap(int16 val);
template<typename T>
struct RemoveTypePointer
{
{
};
template<typename T>

View file

@ -37,7 +37,7 @@ if [ ! -f ../BeefySysLib/third_party/libffi/Makefile ]; then
echo Building libffi...
cd ../BeefySysLib/third_party/libffi
./configure
make
make
cd $SCRIPTPATH
fi
@ -66,9 +66,9 @@ cd ../IDE/dist
if [[ "$OSTYPE" == "darwin"* ]]; then
LIBEXT=dylib
LINKOPTS="-Wl,-no_compact_unwind -Wl,-rpath -Wl,@executable_path"
LINKOPTS="-Wl,-no_compact_unwind -Wl,-rpath -Wl,@executable_path"
else
LIBEXT=so
LIBEXT=so
LINKOPTS="-ldl -lpthread -Wl,-rpath -Wl,\$ORIGIN"
fi