- readd the c++ linear allocator for 3ds - start switching from PD::Vec to std::vector - Add Color::Hex as constexpr for compiletime color converts - Add FNV Hasing functions - Make UI7 ids be able to be generated at compile time - Added a Throw Function (for whatever) - Added HexCHar2Int (replaces the lookup table) - Made u128 fully constexpr
22 lines
452 B
CMake
Executable File
22 lines
452 B
CMake
Executable File
cmake_minimum_required(VERSION 3.22)
|
|
|
|
project(pd-core LANGUAGES CXX VERSION 0.6.0)
|
|
|
|
set(SRC
|
|
source/bit_util.cpp
|
|
source/color.cpp
|
|
source/io.cpp
|
|
source/mat.cpp
|
|
source/strings.cpp
|
|
source/timer.cpp
|
|
source/timetrace.cpp
|
|
)
|
|
|
|
if(PD_BUILD_SHARED)
|
|
pd_add_lib(pd-core BUILD_SHARED TRUE SRC_FILES ${SRC})
|
|
else()
|
|
pd_add_lib(pd-core SRC_FILES ${SRC})
|
|
endif()
|
|
|
|
target_link_libraries(pd-core PUBLIC pd-drivers)
|