forked from speed-dreams/speed-dreams-code
Fixes #335 Out-of-source builds now work out-of-the-box
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4336 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: ec0cef3fb7712dfe57b323c7b54168fc403b9966 Former-commit-id: 75af34692358627c5afbf3e6b4464af93a043b02
This commit is contained in:
parent
bd48a7c89b
commit
b132517b0b
4 changed files with 21 additions and 5 deletions
|
@ -258,9 +258,9 @@ MACRO(ROBOT_MODULE)
|
|||
SET(MODSUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX})
|
||||
FOREACH(CLONENAME ${RBM_CLONENAMES})
|
||||
SET(CLONE_MODNAME ${MODPREFIX}${CLONENAME}${MODSUFFIX})
|
||||
ADD_CUSTOM_COMMAND(TARGET ${RBM_NAME} POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${MODNAME} ${CLONE_MODNAME})
|
||||
SD_INSTALL_FILES(LIB drivers/${CLONENAME} FILES ${CLONE_MODNAME})
|
||||
ADD_CUSTOM_COMMAND(TARGET ${RBM_NAME} POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${MODNAME} ${CLONE_MODNAME})
|
||||
SD_INSTALL_FILES(LIB drivers/${CLONENAME} FILES ${CLONE_MODNAME} PREFIX ${CMAKE_CURRENT_BINARY_DIR})
|
||||
ENDFOREACH(CLONENAME ${RBM_CLONENAMES})
|
||||
ENDIF()
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
INCLUDE(../../cmake/macros.cmake)
|
||||
|
||||
PROJECT(speed-dreams)
|
||||
PROJECT(speed-dreams-2)
|
||||
|
||||
SET(_TARGET_NAME speed-dreams-2)
|
||||
|
||||
SET(_SOURCES main.cpp)
|
||||
IF(WIN32)
|
||||
SET(_SOURCES ${_SOURCES} speed-dreams.rc ../../data/data/icons/icon.ico)
|
||||
SET(_SOURCES ${_SOURCES} main.rc resource.h ../../data/data/icons/icon.ico)
|
||||
ENDIF(WIN32)
|
||||
|
||||
ADD_INTERFACE_INCLUDEDIR()
|
||||
|
|
16
src/main/resource.h
Executable file
16
src/main/resource.h
Executable file
|
@ -0,0 +1,16 @@
|
|||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Developer Studio generated include file.
|
||||
// Used by speed-dreams.rc
|
||||
//
|
||||
#define IDI_ICON1 101
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 102
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1000
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
Loading…
Reference in a new issue