mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
[CMAKE]
- Fix mc command - temporary disable optimization settings to prevent warning svn path=/branches/cmake-bringup/; revision=50490
This commit is contained in:
parent
14bde089ab
commit
67e321c158
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
|
||||
if(0) # Fixme redefinition warning
|
||||
if(OPTIMIZE STREQUAL "1")
|
||||
add_definitions(/O1)
|
||||
elseif(OPTIMIZE STREQUAL "2")
|
||||
|
@ -10,6 +11,7 @@ elseif(OPTIMIZE STREQUAL "4")
|
|||
elseif(OPTIMIZE STREQUAL "5")
|
||||
add_definitions(/GF /Gy /Ob2 /Os /Ox /GS-)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_definitions(/GS- /Zl /Zi)
|
||||
add_definitions(-Dinline=__inline -D__STDC__=1)
|
||||
|
@ -189,7 +191,7 @@ macro(spec2def _dllname _spec_file)
|
|||
endmacro()
|
||||
|
||||
macro(macro_mc FILE)
|
||||
set(COMMAND_MC mc -r ${REACTOS_BINARY_DIR}/include/reactos -h ${REACTOS_BINARY_DIR}/include/reactos ${REACTOS_SOURCE_DIR}/include/reactos/mc/${FILE}.mc)
|
||||
set(COMMAND_MC mc -r ${REACTOS_BINARY_DIR}/include/reactos -h ${REACTOS_BINARY_DIR}/include/reactos ${CMAKE_CURRENT_SOURCE_DIR}/${FILE}.mc)
|
||||
endmacro()
|
||||
|
||||
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/importlibs)
|
||||
|
|
Loading…
Reference in a new issue