/thirdparty/tinyxml/CMakeLists.txt

http://crashrpt.googlecode.com/ · CMake · 14 lines · 6 code · 5 blank · 3 comment · 0 complexity · ee77d54356a3651a585504d2c3901fc0 MD5 · raw file

  1. project(tinyxml)
  2. # Create the list of source files
  3. aux_source_directory( . source_files )
  4. # Define _UNICODE (use wide-char encoding)
  5. add_definitions(-D_UNICODE)
  6. fix_default_compiler_settings_()
  7. # Add library build target
  8. add_library(tinyxml STATIC ${source_files})
  9. set_target_properties(tinyxml PROPERTIES DEBUG_POSTFIX d )