[CMAKE] Introduce the atl_classes interface library

This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
This commit is contained in:
Jérôme Gardou 2020-09-18 11:08:58 +02:00 committed by Jérôme Gardou
parent 8b28f8d9ba
commit 907025a018
36 changed files with 62 additions and 172 deletions

View file

@ -1,11 +1,5 @@
PROJECT(SHELL)
add_definitions(
-D_ATL_NO_EXCEPTIONS)
include_directories(
${REACTOS_SOURCE_DIR}/sdk/lib/atl)
spec2def(rshell.dll rshell.spec ADD_IMPORTLIB)
list(APPEND SOURCE
@ -23,7 +17,8 @@ target_link_libraries(rshell
shelldesktop
uuid
wine
cpprt)
cpprt
atl_classes)
add_importlibs(rshell
browseui