1 2include_directories(${SHIMLIB_DIR}) 3 4spec2def(aclayers.dll layer.spec) 5 6list(APPEND SOURCE 7 dispmode.c 8 forcedxsetupsuccess.c 9 ignoreloadlibrary.c 10 versionlie.c 11 vmhorizon.c 12 main.c 13 layer.spec) 14 15add_library(aclayers MODULE 16 ${SOURCE} 17 ${CMAKE_CURRENT_BINARY_DIR}/aclayers.def) 18 19set_module_type(aclayers win32dll ENTRYPOINT DllMain 12) 20target_link_libraries(aclayers shimlib) 21add_importlibs(aclayers user32 kernel32 ntdll) 22add_cd_file(TARGET aclayers DESTINATION reactos/AppPatch FOR all) 23