mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 19:43:33 +00:00
[CMAKE]
- Improve the unicode situation. - Apply a consistent formatting. - Improve the unicode modules we have so far. - Get rid of some rbuildism. - Overall improvements. svn path=/branches/cmake-bringup/; revision=48964
This commit is contained in:
parent
83719eaee5
commit
0281bf63e6
53 changed files with 250 additions and 256 deletions
|
@ -1,13 +1,12 @@
|
|||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
set_unicode()
|
||||
|
||||
add_definitions(-DANONYMOUSUNIONS)
|
||||
add_definitions(-D_DEBUG_MEM)
|
||||
|
||||
list(APPEND SOURCE
|
||||
cmd.rc
|
||||
main.c)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_pch(cmd ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
|
||||
list(APPEND SOURCE main.c cmd.rc)
|
||||
|
||||
list(APPEND SOURCE
|
||||
alias.c
|
||||
|
@ -71,7 +70,9 @@ list(APPEND SOURCE
|
|||
window.c)
|
||||
|
||||
add_executable(cmd ${CMAKE_CURRENT_BINARY_DIR}/cmd_precomp.h.gch ${SOURCE})
|
||||
|
||||
target_link_libraries(cmd wine)
|
||||
|
||||
add_pch(cmd ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
|
||||
set_module_type(cmd win32cui)
|
||||
set_unicode(cmd yes)
|
||||
target_link_libraries(cmd oldnames wine)
|
||||
add_importlibs(cmd advapi32 user32 msvcrt)
|
Loading…
Add table
Add a link
Reference in a new issue