mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
![Eric Kohl](/assets/img/avatar_default.png)
- Implement a basic command interpreter. - Add basic support for helper dlls and contexts. - Add interactive help system with context support. Everything is still under construction and subject to change.
26 lines
626 B
CMake
26 lines
626 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
|
|
spec2def(netsh.exe netsh.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
context.c
|
|
help.c
|
|
helper.c
|
|
interpreter.c
|
|
netsh.c
|
|
precomp.h)
|
|
|
|
add_executable(netsh ${SOURCE} netsh.rc ${CMAKE_CURRENT_BINARY_DIR}/netsh.def)
|
|
|
|
set_target_properties(netsh
|
|
PROPERTIES
|
|
ENABLE_EXPORTS TRUE
|
|
DEFINE_SYMBOL "")
|
|
|
|
set_module_type(netsh win32cui UNICODE)
|
|
target_link_libraries(netsh conutils ${PSEH_LIB})
|
|
add_importlibs(netsh advapi32 msvcrt user32 kernel32 ntdll)
|
|
|
|
add_pch(netsh precomp.h SOURCE)
|
|
add_cd_file(TARGET netsh DESTINATION reactos/system32 FOR all)
|