aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
blob: 1da2b43690ea7a46e2a079e2752c84854cb110ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
project(privilege_test)

file(GLOB ${PROJECT_NAME}_source_files "*.cpp")
file(GLOB ${PROJECT_NAME}_header_files "*.h")
file(GLOB ${PROJECT_NAME}_resource_files "*.rc")
add_executable(${PROJECT_NAME} WIN32
    ${${PROJECT_NAME}_source_files}
    ${${PROJECT_NAME}_header_files}
    ${${PROJECT_NAME}_resource_files})
target_compile_definitions(${PROJECT_NAME} PRIVATE _UNICODE)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")