Simple Command Line Hex Viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 631B

1234567891011121314151617181920212223
  1. # CMakeLists.txt
  2. # CMakeLists file for HexView
  3. cmake_minimum_required(VERSION 3.9) # CMake Minimum Required Version
  4. project(HexView) # Project
  5. set(CMAKE_CXX_STANDARD 17) # C++ Standard
  6. # Output Directories
  7. set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
  8. file(GLOB SOURCES # Add Source Files
  9. ${CMAKE_SOURCE_DIR}/src/*
  10. )
  11. add_executable(xv ${SOURCES}) # Build Target
  12. target_include_directories(xv PRIVATE # Target Include Directories
  13. ${CMAKE_SOURCE_DIR}/include/
  14. )
  15. set_property( # Visual Studio Startup Project
  16. DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
  17. PROPERTY VS_STARTUP_PROJECT xv
  18. )