https://github.com/zhehaoli1999/DiffFR
Tip revision: f7dc063b7f3c0330f345c5d52454c52c1f6f1f26 authored by Li Zhehao on 31 March 2024, 14:19:09 UTC
update readme to fix typo
update readme to fix typo
Tip revision: f7dc063
CMakeLists.txt
include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
git_local_changes(GIT_LOCAL_CHANGES)
if (${GIT_LOCAL_CHANGES} STREQUAL "DIRTY")
set(COMPILER_MESSAGE "#pragma WARNING(Local changes not committed.)")
endif()
file (STRINGS "../version.txt" SPLISHSPLASH_VERSION)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/Version.h @ONLY)
add_library(Utilities
BinaryFileReaderWriter.h
Counting.h
FileSystem.h
Logger.h
OBJLoader.h
PartioReaderWriter.cpp
PartioReaderWriter.h
StringTools.h
SystemInfo.h
Timing.h
Version.h
ColorfulPrint.h
ColorfulPrint.cpp
)
add_dependencies(Utilities partio zlib)
target_include_directories(Utilities PUBLIC ${TOPLEVEL_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIR})
target_link_libraries(Utilities INTERFACE partio zlib MD5)