mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
[CMAKE]
- Add acledit to build. svn path=/branches/cmake-bringup/; revision=48586
This commit is contained in:
parent
f775807bed
commit
a2fdd97426
|
@ -1,4 +1,5 @@
|
|||
|
||||
add_subdirectory(acledit)
|
||||
add_subdirectory(aclui)
|
||||
add_subdirectory(advapi32)
|
||||
add_subdirectory(gdi32)
|
||||
|
|
21
dll/win32/acledit/CMakeLists.txt
Normal file
21
dll/win32/acledit/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
|
||||
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
add_definitions(-DSUPPORT_UXTHEME)
|
||||
|
||||
file(GLOB_RECURSE SOURCE *.c)
|
||||
|
||||
spec2def(acledit ${CMAKE_CURRENT_SOURCE_DIR}/acledit.spec ${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
|
||||
|
||||
add_library(acledit SHARED
|
||||
${SOURCE}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/acledit.rc)
|
||||
|
||||
set_target_properties(acledit PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(acledit
|
||||
${CMAKE_CURRENT_BINARY_DIR}/acledit.def
|
||||
${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
|
||||
|
||||
add_dependencies(acledit acledit_def psdk)
|
Loading…
Reference in a new issue