/thirdparty/jpeg/CMakeLists.txt
http://crashrpt.googlecode.com/ · CMake · 14 lines · 6 code · 5 blank · 3 comment · 0 complexity · 235a61f3d7f5f8bc87e62e8c48a5ae27 MD5 · raw file
- project(libjpeg)
-
- # Create the list of source files
- aux_source_directory( . source_files )
-
- # Define _UNICODE (use wide-char encoding)
- add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE /wd4244 /wd4131 /wd4100 /wd4127 /wd4267 /wd4310)
-
- fix_default_compiler_settings_()
-
- # Add library build target
- add_library(libjpeg STATIC ${source_files})
-
- set_target_properties(libjpeg PROPERTIES DEBUG_POSTFIX d )