reactos/dll/win32/itircl/CMakeLists.txt
Sylvain Petreolle c702cc0d5a [CMAKE]
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
2010-09-18 15:22:08 +00:00

19 lines
458 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(itircl ${CMAKE_CURRENT_SOURCE_DIR}/itircl.spec ${CMAKE_CURRENT_BINARY_DIR}/itircl.def)
add_library(itircl SHARED itircl_main.c)
set_target_properties(itircl PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
target_link_libraries(itircl
${CMAKE_CURRENT_BINARY_DIR}/itircl.def
wine
mingw_common)
add_dependencies(itircl itircl_def psdk)