Some checks failed
Bigfoot / Build & Test Debug (Unity Build: ON) (push) Has been cancelled
Bigfoot / Build & Test RelWithDebInfo (Unity Build: OFF) (push) Has been cancelled
Bigfoot / Build & Test RelWithDebInfo (Unity Build: ON) (push) Has been cancelled
Bigfoot / Build & Test Release (Unity Build: OFF) (push) Has been cancelled
Bigfoot / Build & Test Release (Unity Build: ON) (push) Has been cancelled
Bigfoot / Build & Test Debug (Unity Build: OFF) (push) Has been cancelled
Reviewed-on: #1 Co-authored-by: Romain BOULLARD <romain.boullard@protonmail.com> Co-committed-by: Romain BOULLARD <romain.boullard@protonmail.com>
29 lines
831 B
CMake
29 lines
831 B
CMake
get_filename_component(PackageName ${CMAKE_CURRENT_SOURCE_DIR} NAME)
|
|
project(${PackageName})
|
|
|
|
set(PublicDependencies
|
|
$<$<CONFIG:Debug,RelWithDebInfo>:quill::quill>
|
|
mimalloc
|
|
stduuid::stduuid)
|
|
set(PrivateDependencies)
|
|
set(BigfootPublicDependencies
|
|
Utils)
|
|
set(BigfootPrivateDependencies)
|
|
|
|
bigfoot_create_package_lib(
|
|
"${PublicDependencies}"
|
|
"${PrivateLibraries}"
|
|
"${BigfootPublicDependencies}"
|
|
"${BigfootPrivateDependencies}"
|
|
"")
|
|
|
|
bigfoot_create_logger()
|
|
|
|
target_compile_definitions(${PROJECT_NAME}
|
|
PUBLIC $<$<CONFIG:Debug,RelWithDebInfo>:QUILL_NO_EXCEPTIONS>
|
|
PUBLIC $<$<CONFIG:Debug,RelWithDebInfo>:QUILL_DISABLE_NON_PREFIXED_MACROS>
|
|
|
|
PUBLIC MI_SHARED_LIB)
|
|
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/MimallocImpl.cpp PROPERTIES SKIP_UNITY_BUILD_INCLUSION ON)
|
|
|