# Additions
- libpicasso (shader compiling) - linearAllocator template (for std::vector) - palladium vec and mat api - iron (2d renderer)
This commit is contained in:
@@ -5,6 +5,8 @@ project(amethyst)
|
||||
option(AMY_BUILD_3DS "Build for 3ds" ON)
|
||||
option(AMY_GOD_DEV "Turn this on if you think you are god" OFF)
|
||||
|
||||
add_subdirectory(vendor/libpicasso)
|
||||
|
||||
add_library(${PROJECT_NAME} STATIC
|
||||
source/amethyst.cpp
|
||||
source/image.cpp
|
||||
@@ -13,8 +15,11 @@ add_library(${PROJECT_NAME} STATIC
|
||||
source/utils.cpp
|
||||
source/c3d.cpp
|
||||
source/ctru.cpp
|
||||
source/iron.cpp
|
||||
source/maths/mat.cpp
|
||||
)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC include)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC pica::pica)
|
||||
if(${AMY_BUILD_3DS})
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC m z ctru citro3d)
|
||||
target_compile_definitions(${PROJECT_NAME} PUBLIC AMY_3DS)
|
||||
|
||||
Reference in New Issue
Block a user