mirror of
https://github.com/QuasarApp/pe-parse.git
synced 2025-04-28 05:14:33 +00:00
- CMake: Refactor, added more warnings. - Refactor - Added Windows support - Added a missing include file for linux. - Do not set CMAKE_CXX_STANDARD on Windows - Always initialize the stat struct - CMake: update the required version, request C++11, disable GNU extensions - CMake: Add default switch cases, fix GCC warnings. - Prefer assignment from an empty object when initializing
14 lines
316 B
CMake
14 lines
316 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
project(pe-parse)
|
|
|
|
set(CMAKE_VERBOSE_MAKEFILE True)
|
|
if (NOT CMAKE_BUILD_TYPE)
|
|
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
|
|
endif ()
|
|
|
|
include(cmake/compilation_flags.cmake)
|
|
list(APPEND GLOBAL_CXXFLAGS ${DEFAULT_CXX_FLAGS})
|
|
|
|
add_subdirectory(parser-library)
|
|
add_subdirectory(dump-prog)
|