set(HEADERS NewBitmap.h iff.h) set(CPPS NewBitmap.cpp bitmain.cpp bumpmap.cpp iff.cpp lightmap.cpp pcx.cpp tga.cpp) add_library(bitmap STATIC ${HEADERS} ${CPPS}) target_link_libraries(bitmap PRIVATE cfile ddebug ddio mem misc stb ) target_include_directories(bitmap PUBLIC $ )