CMakeLists.txt 671 B

12345678910111213141516171819202122232425
  1. cmake_minimum_required(VERSION 3.8)
  2. project(LotRO_Universal_Dat_Library)
  3. set(CMAKE_CXX_STANDARD 11)
  4. set(SOURCE_FILES
  5. DatException.h
  6. LotroDatPatcher.h
  7. DatFile.cpp DatFile.h
  8. BinaryData.cpp BinaryData.h
  9. Database.cpp Database.h
  10. Subfile.cpp Subfile.h
  11. SubDirectory.cpp SubDirectory.h
  12. sqlite/sqlite3.c sqlite/sqlite3.h
  13. )
  14. #add_library(LotRO_dat_Patcher SHARED ${SOURCE_FILES})
  15. #target_link_libraries(LotRO_dat_Patcher ${CMAKE_SOURCE_DIR}/zlib/libzlibstatic.a)
  16. add_executable(LotRO_dat_tester ${SOURCE_FILES} test.cpp)
  17. target_link_libraries(LotRO_dat_tester ${CMAKE_SOURCE_DIR}/zlib/libzlibstatic.a)