endif(CMAKE_HOST_APPLE)
if(WIN32)
- if(CMAKE_CROSSCOMPILING)\r
- ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj\r
- COMMAND i686-pc-mingw32-windres\r
- -I${CMAKE_CURRENT_SOURCE_DIR}/res\r
- -o ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj\r
- -i${CMAKE_CURRENT_SOURCE_DIR}/res/lugaru.rc\r
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/lugaru.rc\r
- )\r
- endif(CMAKE_CROSSCOMPILING)\r
- if(NOT CMAKE_CROSSCOMPILING)\r
- ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj\r
- COMMAND windres\r
- -I${CMAKE_CURRENT_SOURCE_DIR}/res\r
- -o ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj\r
- -i${CMAKE_CURRENT_SOURCE_DIR}/res/lugaru.rc\r
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/lugaru.rc\r
- )\r
+ if(CMAKE_CROSSCOMPILING)
+ ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj
+ COMMAND i686-pc-mingw32-windres
+ -I${CMAKE_CURRENT_SOURCE_DIR}/res
+ -o ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj
+ -i${CMAKE_CURRENT_SOURCE_DIR}/res/lugaru.rc
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/lugaru.rc
+ )
+ endif(CMAKE_CROSSCOMPILING)
+ if(NOT CMAKE_CROSSCOMPILING)
+ ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj
+ COMMAND windres
+ -I${CMAKE_CURRENT_SOURCE_DIR}/res
+ -o ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj
+ -i${CMAKE_CURRENT_SOURCE_DIR}/res/lugaru.rc
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/lugaru.rc
+ )
endif(NOT CMAKE_CROSSCOMPILING)
set(LUGARU_SRCS