CMakeLists.txt 1017 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. cmake_minimum_required(VERSION 3.0)
  2. project(shp_tools)
  3. #
  4. #
  5. # file(GLOB_RECURSE sources src/*.cpp src/*.h)
  6. #
  7. # add_executable(shptool ${sources})
  8. # target_include_directories(shptool PUBLIC src)
  9. #
  10. # target_compile_options(shptool PUBLIC -std=c++11 -ggdb )
  11. #
  12. # target_link_libraries(shptool PUBLIC
  13. # m
  14. # )
  15. add_executable(unpackimg src/unpackimg.cpp)
  16. target_compile_options(unpackimg PUBLIC -std=c++11 )
  17. target_link_libraries(unpackimg PUBLIC
  18. m
  19. )
  20. add_executable(tredump src/TREdump.cpp src/TRE.cpp src/common.cpp src/bitstream.cpp)
  21. target_compile_options(tredump PUBLIC -std=c++11 )
  22. target_link_libraries(tredump PUBLIC
  23. m
  24. )
  25. add_executable(rgndump src/RGNdump.cpp src/RGN.cpp src/TRE.cpp src/common.cpp src/bitstream.cpp)
  26. target_compile_options(rgndump PUBLIC -std=c++11 )
  27. target_link_libraries(rgndump PUBLIC
  28. m
  29. )
  30. add_executable(polytest src/polytest.cpp src/common.cpp src/bitstream.cpp)
  31. target_compile_options(polytest PUBLIC -std=c++11 )
  32. target_link_libraries(polytest PUBLIC
  33. m
  34. )