comparison CMakeLists.txt @ 364:99c961c91809

core: refactor out byte stream into its own file easy dubs
author Paper <paper@paper.us.eu.org>
date Tue, 16 Jul 2024 21:15:59 -0400
parents 373f92c35bec
children 8d45d892be88
comparison
equal deleted inserted replaced
363:f10507d8f686 364:99c961c91809
83 83
84 # Core files and datatype declarations... 84 # Core files and datatype declarations...
85 src/core/anime.cc 85 src/core/anime.cc
86 src/core/anime_db.cc 86 src/core/anime_db.cc
87 src/core/anime_season.cc 87 src/core/anime_season.cc
88 src/core/byte_stream.cc
88 src/core/config.cc 89 src/core/config.cc
89 src/core/date.cc 90 src/core/date.cc
90 src/core/filesystem.cc 91 src/core/filesystem.cc
91 src/core/http.cc 92 src/core/http.cc
92 src/core/json.cc 93 src/core/json.cc
201 202
202 list(APPEND SRC_FILES "${LOCALE_QRC_LOCATION}") 203 list(APPEND SRC_FILES "${LOCALE_QRC_LOCATION}")
203 204
204 ########################################################################### 205 ###########################################################################
205 # Platform specific stuff 206 # Platform specific stuff
207
208 # Endianness
209 include (TestBigEndian)
210 TEST_BIG_ENDIAN(IS_BIG_ENDIAN)
211 if(IS_BIG_ENDIAN)
212 list(APPEND DEFINES BYTE_ORDER_BIG)
213 else()
214 list(APPEND DEFINES BYTE_ORDER_LITTLE)
215 endif()
206 216
207 # This is also used in the Win32 rc file 217 # This is also used in the Win32 rc file
208 set(RC_INFO_STRING "A lightweight anime tracker built with Qt.") 218 set(RC_INFO_STRING "A lightweight anime tracker built with Qt.")
209 219
210 if(APPLE) # Mac OS X (or OS X (or macOS)) 220 if(APPLE) # Mac OS X (or OS X (or macOS))