mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 15:34:13 +00:00
37 lines
672 B
CMake
37 lines
672 B
CMake
|
|
||
|
project(SHELL)
|
||
|
|
||
|
set_cpp(WITH_RUNTIME)
|
||
|
|
||
|
if(NOT MSVC)
|
||
|
# HACK: this should be enabled globally!
|
||
|
add_compile_flags_language("-std=c++11" "CXX")
|
||
|
endif()
|
||
|
|
||
|
include_directories(
|
||
|
${REACTOS_SOURCE_DIR}/lib/atl
|
||
|
${REACTOS_SOURCE_DIR})
|
||
|
|
||
|
spec2def(stobject.dll stobject.spec)
|
||
|
|
||
|
add_library(stobject SHARED
|
||
|
stobject.cpp
|
||
|
stobject.rc
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/stobject.def)
|
||
|
|
||
|
set_module_type(stobject win32dll UNICODE)
|
||
|
target_link_libraries(stobject uuid wine atlnew)
|
||
|
|
||
|
add_importlibs(stobject
|
||
|
advapi32
|
||
|
ole32
|
||
|
gdi32
|
||
|
user32
|
||
|
comctl32
|
||
|
shlwapi
|
||
|
msvcrt
|
||
|
kernel32
|
||
|
ntdll)
|
||
|
|
||
|
add_cd_file(TARGET stobject DESTINATION reactos/system32 FOR all)
|