mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
20 lines
333 B
CMake
20 lines
333 B
CMake
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
|
|
spec2def(dxtn.dll dxtn.spec)
|
|
|
|
add_library(dxtn SHARED
|
|
fxt1.c
|
|
dxtn.c
|
|
wrapper.c
|
|
texstore.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/dxtn.def)
|
|
|
|
set_entrypoint(dxtn 0)
|
|
|
|
add_importlibs(dxtn msvcrt)
|
|
|
|
add_dependencies(dxtn psdk)
|
|
|
|
add_cd_file(TARGET dxtn DESTINATION reactos/system32 FOR all)
|