From 22d3e3f3a58d72612fd722af145c4f3332a8459e Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Wed, 30 Jan 2019 23:54:57 -0500 Subject: [PATCH] split lib folders --- CMakeLists.txt | 3 ++- {lib => x86libs}/LoaderDll.dll | Bin {lib => x86libs}/LocaleEmulator.dll | Bin 3 files changed, 2 insertions(+), 1 deletion(-) rename {lib => x86libs}/LoaderDll.dll (100%) rename {lib => x86libs}/LocaleEmulator.dll (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 57d95c7..e53e351 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,8 +17,10 @@ include_directories(include) if(${CMAKE_SIZEOF_VOID_P} EQUAL 8) set(CMAKE_FINAL_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/builds/${CMAKE_BUILD_TYPE}_x64) + file(GLOB LIBS x64libs/*) else() set(CMAKE_FINAL_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/builds/${CMAKE_BUILD_TYPE}_x86) + file(GLOB LIBS x86libs/*) endif() set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY}) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY}) @@ -26,7 +28,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY}) set(CMAKE_CONFIGURATION_TYPES Debug Release) -file(GLOB LIBS lib/*) file(COPY ${LIBS} DESTINATION ${CMAKE_FINAL_OUTPUT_DIRECTORY}) add_subdirectory(GUI) diff --git a/lib/LoaderDll.dll b/x86libs/LoaderDll.dll similarity index 100% rename from lib/LoaderDll.dll rename to x86libs/LoaderDll.dll diff --git a/lib/LocaleEmulator.dll b/x86libs/LocaleEmulator.dll similarity index 100% rename from lib/LocaleEmulator.dll rename to x86libs/LocaleEmulator.dll