|
@@ -164,6 +164,50 @@ target_compile_options(core PUBLIC
|
|
|
)
|
|
|
target_compile_definitions(core PUBLIC CORE_LOG_LEVEL=4)
|
|
|
target_link_libraries(core PUBLIC -nodefaultlibs c m)
|
|
|
+target_sources(core PUBLIC
|
|
|
+ FILE_SET HEADERS
|
|
|
+ BASE_DIRS include
|
|
|
+ FILES
|
|
|
+ ./include/core/data/Stack.hpp
|
|
|
+ ./include/core/data/HashMap.hpp
|
|
|
+ ./include/core/data/Components.hpp
|
|
|
+ ./include/core/data/ArrayList.hpp
|
|
|
+ ./include/core/data/ProbingHashMap.hpp
|
|
|
+ ./include/core/data/List.hpp
|
|
|
+ ./include/core/data/LinkedList.hpp
|
|
|
+ ./include/core/data/BitArray.hpp
|
|
|
+ ./include/core/data/Array.hpp
|
|
|
+ ./include/core/data/RingBuffer.hpp
|
|
|
+ ./include/core/thread/Thread.hpp
|
|
|
+ ./include/core/utils/HashCode.hpp
|
|
|
+ ./include/core/utils/New.hpp
|
|
|
+ ./include/core/utils/Check.hpp
|
|
|
+ ./include/core/utils/Buffer.hpp
|
|
|
+ ./include/core/utils/Random.hpp
|
|
|
+ ./include/core/utils/UniquePointer.hpp
|
|
|
+ ./include/core/utils/Types.hpp
|
|
|
+ ./include/core/utils/Color.hpp
|
|
|
+ ./include/core/utils/Logger.hpp
|
|
|
+ ./include/core/utils/ArrayString.hpp
|
|
|
+ ./include/core/utils/Utility.hpp
|
|
|
+ ./include/core/utils/Meta.hpp
|
|
|
+ ./include/core/utils/AlignedData.hpp
|
|
|
+ ./include/core/utils/Clock.hpp
|
|
|
+ ./include/core/utils/Error.hpp
|
|
|
+ ./include/core/math/Quaternion.hpp
|
|
|
+ ./include/core/math/Box.hpp
|
|
|
+ ./include/core/math/Frustum.hpp
|
|
|
+ ./include/core/math/Vector.hpp
|
|
|
+ ./include/core/math/Matrix.hpp
|
|
|
+ ./include/core/math/View.hpp
|
|
|
+ ./include/core/math/BufferedValue.hpp
|
|
|
+ ./include/core/math/Plane.hpp
|
|
|
+ ./include/core/math/MatrixStack.hpp
|
|
|
+ ./include/core/math/Math.hpp
|
|
|
+ ./include/core/io/File.hpp
|
|
|
+ ./include/core/io/FileReader.hpp
|
|
|
+)
|
|
|
+install(TARGETS core FILE_SET HEADERS)
|
|
|
|
|
|
add_executable(test ${SRC_TESTS})
|
|
|
target_link_libraries(test PRIVATE core)
|