|
project(crashcon)
# Create the list of source files
aux_source_directory( . source_files )
# Define _UNICODE (use wide-char encoding)
add_definitions(-D_UNICODE )
fix_default_compiler_settings_()
# Add include dir
include_directories(${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/reporting/CrashRpt
${CMAKE_SOURCE_DIR}/thirdparty/wtl
${CMAKE_SOURCE_DIR}/thirdparty/zlib
${CMAKE_SOURCE_DIR}/thirdparty/minizip
${CMAKE_SOURCE_DIR}/thirdparty/jpeg
${CMAKE_SOURCE_DIR}/thirdparty/libpng
${CMAKE_SOURCE_DIR}/thirdparty/tinyxml )
# Add executable build target
add_executable(crashcon ${source_files})
# Add input link libraries
target_link_libraries(crashcon CrashRpt)
set_target_properties(crashcon PROPERTIES DEBUG_POSTFIX d )
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a software developer currently living in Tomsk, Russia. I received a PhD degree in Computer Science from Tomsk Polytechnic University in 2010. I have been professionally developing C/C++ and PHP software since 2005. I like contributing to open-source and writing programming articles for popular web resources, like CodeProject. Besides writing, I love skiing and watching Formula-1.