Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake fixes ported from legacy ogre #474

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ endif()
set(INST_FILES
Packages/FindRapidjson.cmake
Packages/FindRemotery.cmake
Packages/FindSDL2.cmake
Packages/FindOGRE.cmake
Utils/FindPkgMacros.cmake
Utils/MacroLogFeature.cmake
Expand Down
50 changes: 25 additions & 25 deletions CMake/ConfigureBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,14 @@ else ()
endif()

# generate OgreBuildSettings.h
configure_file(${OGRE_TEMPLATES_DIR}/OgreBuildSettings.h.in ${OGRE_BINARY_DIR}/include/OgreBuildSettings.h @ONLY)
configure_file(${OGRE_TEMPLATES_DIR}/OgreGL3PlusBuildSettings.h.in ${OGRE_BINARY_DIR}/include/OgreGL3PlusBuildSettings.h @ONLY)
configure_file(${OGRE_TEMPLATES_DIR}/OgreVulkanBuildSettings.h.in ${OGRE_BINARY_DIR}/include/OgreVulkanBuildSettings.h @ONLY)
configure_file(${OGRE_TEMPLATES_DIR}/OgreBuildSettings.h.in ${PROJECT_BINARY_DIR}/include/OgreBuildSettings.h @ONLY)
configure_file(${OGRE_TEMPLATES_DIR}/OgreGL3PlusBuildSettings.h.in ${PROJECT_BINARY_DIR}/include/OgreGL3PlusBuildSettings.h @ONLY)
configure_file(${OGRE_TEMPLATES_DIR}/OgreVulkanBuildSettings.h.in ${PROJECT_BINARY_DIR}/include/OgreVulkanBuildSettings.h @ONLY)

install( FILES
${OGRE_BINARY_DIR}/include/OgreBuildSettings.h
${OGRE_BINARY_DIR}/include/OgreGL3PlusBuildSettings.h
${OGRE_BINARY_DIR}/include/OgreVulkanBuildSettings.h
${PROJECT_BINARY_DIR}/include/OgreBuildSettings.h
${PROJECT_BINARY_DIR}/include/OgreGL3PlusBuildSettings.h
${PROJECT_BINARY_DIR}/include/OgreVulkanBuildSettings.h
DESTINATION include/${OGRE_NEXT_PREFIX}
)

Expand Down Expand Up @@ -260,44 +260,44 @@ if (UNIX)
if (OGRE_STATIC)
# there is no pkgconfig file for freeimage, so we need to add that lib manually
set(OGRE_ADDITIONAL_LIBS "${OGRE_ADDITIONAL_LIBS} -lfreeimage")
configure_file(${OGRE_TEMPLATES_DIR}/OGREStatic.pc.in ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}.pc @ONLY)
configure_file(${OGRE_TEMPLATES_DIR}/OGREStatic.pc.in ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}.pc @ONLY)
else ()
configure_file(${OGRE_TEMPLATES_DIR}/OGRE.pc.in ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}.pc @ONLY)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE.pc.in ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}.pc @ONLY)
endif ()
install(FILES ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
install(FILES ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)

# configure additional packages

message(STATUS "OGRE_PREFIX_PATH: ${OGRE_PREFIX_PATH}")

if (OGRE_BUILD_COMPONENT_PAGING)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Paging.pc.in ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Paging.pc @ONLY)
install(FILES ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Paging.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Paging.pc.in ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Paging.pc @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Paging.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
endif ()

if (OGRE_BUILD_COMPONENT_MESHLODGENERATOR)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-MeshLodGenerator.pc.in ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-MeshLodGenerator.pc @ONLY)
install(FILES ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-MeshLodGenerator.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-MeshLodGenerator.pc.in ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-MeshLodGenerator.pc @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-MeshLodGenerator.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
endif ()

if (OGRE_BUILD_COMPONENT_PROPERTY)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Property.pc.in ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Property.pc @ONLY)
install(FILES ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Property.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Property.pc.in ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Property.pc @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Property.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
endif ()

if (OGRE_BUILD_COMPONENT_OVERLAY)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Overlay.pc.in ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Overlay.pc @ONLY)
install(FILES ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Overlay.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Overlay.pc.in ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Overlay.pc @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Overlay.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
endif ()

if (OGRE_BUILD_COMPONENT_VOLUME)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Volume.pc.in ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Volume.pc @ONLY)
install(FILES ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Volume.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Volume.pc.in ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Volume.pc @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Volume.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
endif ()

if (OGRE_BUILD_COMPONENT_HLMS_PBS AND OGRE_BUILD_COMPONENT_HLMS_UNLIT)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Hlms.pc.in ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Hlms.pc @ONLY)
install(FILES ${OGRE_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Hlms.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Hlms.pc.in ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Hlms.pc @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/pkgconfig/${OGRE_NEXT_PREFIX}-Hlms.pc DESTINATION ${OGRE_LIB_DIRECTORY}/pkgconfig)
endif ()

endif ()
Expand All @@ -322,11 +322,11 @@ endif(OGRE_CONFIG_STATIC_LINK_CRT)
# set(OGRE_CMAKE_DIR lib/cmake)
# elseif (APPLE)
# endif ()
# configure_file(${OGRE_TEMPLATES_DIR}/OGREConfig.cmake.in ${OGRE_BINARY_DIR}/cmake/OGREConfig.cmake @ONLY)
# configure_file(${OGRE_TEMPLATES_DIR}/OGREConfigVersion.cmake.in ${OGRE_BINARY_DIR}/cmake/OGREConfigVersion.cmake @ONLY)
# configure_file(${OGRE_TEMPLATES_DIR}/OGREConfig.cmake.in ${PROJECT_BINARY_DIR}/cmake/OGREConfig.cmake @ONLY)
# configure_file(${OGRE_TEMPLATES_DIR}/OGREConfigVersion.cmake.in ${PROJECT_BINARY_DIR}/cmake/OGREConfigVersion.cmake @ONLY)
# install(FILES
# ${OGRE_BINARY_DIR}/cmake/OGREConfig.cmake
# ${OGRE_BINARY_DIR}/cmake/OGREConfigVersion.cmake
# ${PROJECT_BINARY_DIR}/cmake/OGREConfig.cmake
# ${PROJECT_BINARY_DIR}/cmake/OGREConfigVersion.cmake
# DESTINATION ${OGRE_CMAKE_DIR}
# )
#
36 changes: 18 additions & 18 deletions CMake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,38 +21,38 @@ if(OGRE_BUILD_PLATFORM_EMSCRIPTEN)
${OGRE_DEPENDENCIES_DIR}
${EMSCRIPTEN_ROOT_PATH}/system
${ENV_OGRE_DEPENDENCIES_DIR}
"${OGRE_BINARY_DIR}/EmscriptenDependencies"
"${OGRE_SOURCE_DIR}/EmscriptenDependencies"
"${OGRE_BINARY_DIR}/../EmscriptenDependencies"
"${OGRE_SOURCE_DIR}/../EmscriptenDependencies"
"${PROJECT_BINARY_DIR}/EmscriptenDependencies"
"${PROJECT_SOURCE_DIR}/EmscriptenDependencies"
"${PROJECT_BINARY_DIR}/../EmscriptenDependencies"
"${PROJECT_SOURCE_DIR}/../EmscriptenDependencies"
)
set(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} ${OGRE_DEP_SEARCH_PATH})
elseif(OGRE_BUILD_PLATFORM_APPLE_IOS)
set(OGRE_DEP_SEARCH_PATH
${OGRE_DEPENDENCIES_DIR}
${ENV_OGRE_DEPENDENCIES_DIR}
"${OGRE_BINARY_DIR}/iOSDependencies"
"${OGRE_SOURCE_DIR}/iOSDependencies"
"${OGRE_BINARY_DIR}/../iOSDependencies"
"${OGRE_SOURCE_DIR}/../iOSDependencies"
"${PROJECT_BINARY_DIR}/iOSDependencies"
"${PROJECT_SOURCE_DIR}/iOSDependencies"
"${PROJECT_BINARY_DIR}/../iOSDependencies"
"${PROJECT_SOURCE_DIR}/../iOSDependencies"
)
elseif(OGRE_BUILD_PLATFORM_ANDROID)
set(OGRE_DEP_SEARCH_PATH
${OGRE_DEPENDENCIES_DIR}
${ENV_OGRE_DEPENDENCIES_DIR}
"${OGRE_BINARY_DIR}/DependenciesAndroid"
"${OGRE_SOURCE_DIR}/DependenciesAndroid"
"${OGRE_BINARY_DIR}/../DependenciesAndroid"
"${OGRE_SOURCE_DIR}/../DependenciesAndroid"
"${PROJECT_BINARY_DIR}/DependenciesAndroid"
"${PROJECT_SOURCE_DIR}/DependenciesAndroid"
"${PROJECT_BINARY_DIR}/../DependenciesAndroid"
"${PROJECT_SOURCE_DIR}/../DependenciesAndroid"
)
else()
set(OGRE_DEP_SEARCH_PATH
${OGRE_DEPENDENCIES_DIR}
${ENV_OGRE_DEPENDENCIES_DIR}
"${OGRE_BINARY_DIR}/Dependencies"
"${OGRE_SOURCE_DIR}/Dependencies"
"${OGRE_BINARY_DIR}/../Dependencies"
"${OGRE_SOURCE_DIR}/../Dependencies"
"${PROJECT_BINARY_DIR}/Dependencies"
"${PROJECT_SOURCE_DIR}/Dependencies"
"${PROJECT_BINARY_DIR}/../Dependencies"
"${PROJECT_SOURCE_DIR}/../Dependencies"
)
endif()

Expand Down Expand Up @@ -238,9 +238,9 @@ macro_log_feature(CppUnit_FOUND "CppUnit" "Library for performing unit tests" "h
# setting everything up, including overriding any of the above
# findings.
set(OGREDEPS_RUNTIME_OUTPUT ${OGRE_RUNTIME_OUTPUT})
if (EXISTS "${OGRE_SOURCE_DIR}/Dependencies/CMakeLists.txt")
if (EXISTS "${PROJECT_SOURCE_DIR}/Dependencies/CMakeLists.txt")
add_subdirectory(Dependencies)
elseif (EXISTS "${OGRE_SOURCE_DIR}/ogredeps/CMakeLists.txt")
elseif (EXISTS "${PROJECT_SOURCE_DIR}/ogredeps/CMakeLists.txt")
add_subdirectory(ogredeps)
endif ()

Expand Down
46 changes: 22 additions & 24 deletions CMake/InstallDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ endif()

# TODO - most of this file assumes a common dependencies root folder
# This is not robust, we should instead source dependencies from their individual locations
get_filename_component(OGRE_DEP_DIR ${SDL2_INCLUDE_DIR}/../../ ABSOLUTE)

option(OGRE_INSTALL_DEPENDENCIES "Install dependency libs needed for samples" TRUE)
option(OGRE_COPY_DEPENDENCIES "Copy dependency libs to the build directory" TRUE)

Expand Down Expand Up @@ -52,12 +50,12 @@ endmacro()
macro(copy_debug INPUT)
if (EXISTS ${OGRE_DEP_DIR}/lib/debug/${INPUT})
if (MINGW OR NMAKE)
configure_file(${OGRE_DEP_DIR}/lib/debug/${INPUT} ${OGRE_BINARY_DIR}/lib/${INPUT} COPYONLY)
configure_file(${OGRE_DEP_DIR}/lib/debug/${INPUT} ${PROJECT_BINARY_DIR}/lib/${INPUT} COPYONLY)
else ()
if (IS_DIRECTORY ${OGRE_DEP_DIR}/lib/debug/${INPUT})
install(DIRECTORY ${OGRE_DEP_DIR}/lib/debug/${INPUT} DESTINATION lib/debug)
else ()
configure_file(${OGRE_DEP_DIR}/lib/debug/${INPUT} ${OGRE_BINARY_DIR}/lib/debug/${INPUT} COPYONLY)
configure_file(${OGRE_DEP_DIR}/lib/debug/${INPUT} ${PROJECT_BINARY_DIR}/lib/debug/${INPUT} COPYONLY)
endif ()
endif ()
endif ()
Expand All @@ -66,16 +64,16 @@ endmacro()
macro(copy_release INPUT)
if (EXISTS ${OGRE_DEP_DIR}/lib/release/${INPUT})
if (MINGW OR NMAKE)
configure_file(${OGRE_DEP_DIR}/lib/release/${INPUT} ${OGRE_BINARY_DIR}/lib/${INPUT} COPYONLY)
configure_file(${OGRE_DEP_DIR}/lib/release/${INPUT} ${PROJECT_BINARY_DIR}/lib/${INPUT} COPYONLY)
else ()
if (IS_DIRECTORY ${OGRE_DEP_DIR}/lib/release/${INPUT})
install(DIRECTORY ${OGRE_DEP_DIR}/lib/release/${INPUT} DESTINATION lib/release CONFIGURATIONS Release None "")
install(DIRECTORY ${OGRE_DEP_DIR}/lib/release/${INPUT} DESTINATION lib/relwithdebinfo CONFIGURATIONS RelWithDebInfo)
install(DIRECTORY ${OGRE_DEP_DIR}/lib/release/${INPUT} DESTINATION lib/minsizerel CONFIGURATIONS MinSizeRel)
else ()
configure_file(${OGRE_DEP_DIR}/lib/release/${INPUT} ${OGRE_BINARY_DIR}/lib/release/${INPUT} COPYONLY)
configure_file(${OGRE_DEP_DIR}/lib/release/${INPUT} ${OGRE_BINARY_DIR}/lib/relwithdebinfo/${INPUT} COPYONLY)
configure_file(${OGRE_DEP_DIR}/lib/release/${INPUT} ${OGRE_BINARY_DIR}/lib/minsizerel/${INPUT} COPYONLY)
configure_file(${OGRE_DEP_DIR}/lib/release/${INPUT} ${PROJECT_BINARY_DIR}/lib/release/${INPUT} COPYONLY)
configure_file(${OGRE_DEP_DIR}/lib/release/${INPUT} ${PROJECT_BINARY_DIR}/lib/relwithdebinfo/${INPUT} COPYONLY)
configure_file(${OGRE_DEP_DIR}/lib/release/${INPUT} ${PROJECT_BINARY_DIR}/lib/minsizerel/${INPUT} COPYONLY)
endif ()
endif ()
endif ()
Expand Down Expand Up @@ -138,34 +136,34 @@ if (OGRE_COPY_DEPENDENCIES)
# copy the required DLLs to the build directory (configure_file is the only copy-like op I found in CMake)
if( (OGRE_BUILD_SAMPLES2 OR OGRE_BUILD_TESTS) )
if(EXISTS ${SDL2_BINARY_DBG} AND EXISTS ${SDL2_BINARY_REL})
file(COPY ${SDL2_BINARY_DBG} DESTINATION ${OGRE_BINARY_DIR}/bin/debug)
file(COPY ${SDL2_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/release)
file(COPY ${SDL2_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/relwithdebinfo)
file(COPY ${SDL2_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/minsizerel)
file(COPY ${SDL2_BINARY_DBG} DESTINATION ${PROJECT_BINARY_DIR}/bin/debug)
file(COPY ${SDL2_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/release)
file(COPY ${SDL2_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/relwithdebinfo)
file(COPY ${SDL2_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/minsizerel)
endif()
if(EXISTS ${OpenVR_BINARY_DBG} AND EXISTS ${OpenVR_BINARY_REL})
file(COPY ${OpenVR_BINARY_DBG} DESTINATION ${OGRE_BINARY_DIR}/bin/debug)
file(COPY ${OpenVR_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/release)
file(COPY ${OpenVR_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/relwithdebinfo)
file(COPY ${OpenVR_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/minsizerel)
file(COPY ${OpenVR_BINARY_DBG} DESTINATION ${PROJECT_BINARY_DIR}/bin/debug)
file(COPY ${OpenVR_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/release)
file(COPY ${OpenVR_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/relwithdebinfo)
file(COPY ${OpenVR_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/minsizerel)
endif()
endif()

if( OGRE_PROFILING_PROVIDER STREQUAL "remotery" )
if(EXISTS ${Remotery_BINARY_DBG} AND EXISTS ${Remotery_BINARY_REL})
file(COPY ${Remotery_BINARY_DBG} DESTINATION ${OGRE_BINARY_DIR}/bin/debug)
file(COPY ${Remotery_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/release)
file(COPY ${Remotery_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/relwithdebinfo)
file(COPY ${Remotery_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/minsizerel)
file(COPY ${Remotery_BINARY_DBG} DESTINATION ${PROJECT_BINARY_DIR}/bin/debug)
file(COPY ${Remotery_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/release)
file(COPY ${Remotery_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/relwithdebinfo)
file(COPY ${Remotery_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/minsizerel)
endif()
endif()

if( OGRE_CONFIG_AMD_AGS )
if(EXISTS ${AMDAGS_BINARY_DBG} AND EXISTS ${AMDAGS_BINARY_REL})
file(COPY ${AMDAGS_BINARY_DBG} DESTINATION ${OGRE_BINARY_DIR}/bin/debug)
file(COPY ${AMDAGS_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/release)
file(COPY ${AMDAGS_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/relwithdebinfo)
file(COPY ${AMDAGS_BINARY_REL} DESTINATION ${OGRE_BINARY_DIR}/bin/minsizerel)
file(COPY ${AMDAGS_BINARY_DBG} DESTINATION ${PROJECT_BINARY_DIR}/bin/debug)
file(COPY ${AMDAGS_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/release)
file(COPY ${AMDAGS_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/relwithdebinfo)
file(COPY ${AMDAGS_BINARY_REL} DESTINATION ${PROJECT_BINARY_DIR}/bin/minsizerel)
endif()
endif()

Expand Down
Loading
Loading