mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 16:51:06 +00:00
c702cc0d5a
Generalize CMAKE_C_CREATE_SHARED_LIBRARY and remove per project instances. Thanks to Amine for regexxer tool discovery ;) svn path=/branches/cmake-bringup/; revision=48804
21 lines
416 B
CMake
21 lines
416 B
CMake
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/freetype/include)
|
|
|
|
add_library(ftfd SHARED
|
|
enable.c
|
|
font.c
|
|
glyph.c
|
|
rosglue.c
|
|
sprintf.c)
|
|
|
|
set_target_properties(ftfd PROPERTIES LINK_FLAGS "-Wl,-entry,_FtfdEnableDriver@12 -Wl,--subsystem,native")
|
|
|
|
target_link_libraries(ftfd
|
|
${CMAKE_CURRENT_SOURCE_DIR}/freetype.def
|
|
-lwin32k
|
|
freetype
|
|
libcntpr)
|
|
|
|
add_dependencies(ftfd psdk)
|