/processing/crprober/CMakeLists.txt

http://crashrpt.googlecode.com/ · CMake · 21 lines · 9 code · 7 blank · 5 comment · 0 complexity · 933155bfe4fddf83724b00aa6209272e MD5 · raw file

  1. project(crprober)
  2. # Create the list of source files
  3. aux_source_directory( . source_files )
  4. file( GLOB header_files *.h )
  5. # Define _UNICODE (use wide-char encoding)
  6. add_definitions(-D_UNICODE )
  7. fix_default_compiler_settings_()
  8. # Add include dir
  9. include_directories(${CMAKE_SOURCE_DIR}/include)
  10. # Add executable build target
  11. add_executable(crprober ${source_files} ${header_files})
  12. # Add input link libraries
  13. target_link_libraries(crprober CrashRptProbe)
  14. set_target_properties(crprober PROPERTIES DEBUG_POSTFIX d )