Commit aa2409d3 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - dll's no also get copied to bin/modules

parent dc53f5a6
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
FILE( GLOB_RECURSE MODULES_SRC "*.cpp" "*.h" )
SET( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
SET( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/modules )
GET_FILENAME_COMPONENT( modname ${CMAKE_CURRENT_SOURCE_DIR} NAME )
ADD_LIBRARY( ${modname} SHARED ${MODULES_SRC} )
TARGET_LINK_LIBRARIES( ${modname} kernel )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment