Source

neglect / neglect / cpplib / CMakeLists.txt

set(SOURCES
	src/exception.cpp
    src/format.cpp
    src/platform.cpp
    src/ntpath.cpp
    src/posixpath.cpp
)
set(HEADERS
	include/neglect/boot.hpp
	include/neglect/exception.hpp
	include/neglect/format.hpp
	include/neglect/platform.hpp
	include/neglect/vector.hpp
	include/neglect/vector_io.hpp
	include/neglect/_vector2.hpp
	include/neglect/_vector3.hpp
	include/neglect/_vector4.hpp
	include/neglect/math.hpp
	include/neglect/matrix.hpp
	include/neglect/matrix_io.hpp
	include/neglect/quaternion.hpp
	include/neglect/quaternion_io.hpp
	include/neglect/unittest.hpp
	include/neglect/path.hpp
	include/neglect/ntpath.hpp
    include/neglect/posixpath.hpp
    
    include/neglect/_vector2_swizzle.inc
    include/neglect/_vector3_swizzle.inc
    include/neglect/_vector4_swizzle.inc
	
	include/neglect/boot.h
)

source_group("Generated Files" REGULAR_EXPRESSION "\\.inc$")

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

add_library(neglect STATIC ${SOURCES} ${HEADERS})
target_link_libraries(neglect ${ZLIB_LIBRARY})