mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
907025a018
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
23 lines
647 B
CMake
23 lines
647 B
CMake
|
|
if(NOT MSVC)
|
|
# HACK: this should be enabled globally!
|
|
add_compile_flags_language("-std=c++11" "CXX")
|
|
endif()
|
|
|
|
include_directories(
|
|
includes)
|
|
|
|
list(APPEND SOURCE
|
|
ACListISF.cpp
|
|
IACLCustomMRU.cpp
|
|
SHEnumClassesOfCategories.cpp
|
|
SHExplorerParseCmdLine.c
|
|
testlist.c)
|
|
|
|
add_executable(browseui_apitest ${SOURCE})
|
|
target_link_libraries(browseui_apitest uuid wine cpprt atl_classes)
|
|
set_target_cpp_properties(browseui_apitest WITH_EXCEPTIONS WITH_RTTI)
|
|
set_module_type(browseui_apitest win32cui)
|
|
add_importlibs(browseui_apitest advapi32 shell32 ole32 shlwapi msvcrt kernel32 ntdll)
|
|
add_rostests_file(TARGET browseui_apitest)
|