flatten build directories
This commit is contained in:
parent
1c391e3a4b
commit
19e7df5631
@ -18,10 +18,10 @@ add_definitions(
|
||||
|
||||
include_directories(include)
|
||||
|
||||
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
|
||||
set(CMAKE_FINAL_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/Builds/${CMAKE_BUILD_TYPE}/x64)
|
||||
if(${CMAKE_SIZEOF_VOID_P} STREQUAL "8")
|
||||
set(CMAKE_FINAL_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/Builds/${CMAKE_BUILD_TYPE}_x64)
|
||||
else()
|
||||
set(CMAKE_FINAL_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/Builds/${CMAKE_BUILD_TYPE}/x86)
|
||||
set(CMAKE_FINAL_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/Builds/${CMAKE_BUILD_TYPE}_x86)
|
||||
endif()
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY})
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY})
|
||||
|
@ -1,4 +1,4 @@
|
||||
cd Builds/RelWithDebInfo/x86;
|
||||
cd Builds/RelWithDebInfo_x86;
|
||||
Compress-Archive -Force -DestinationPath Textractor -Path @(
|
||||
"Textractor.exe",
|
||||
"styles",
|
||||
@ -16,7 +16,7 @@ Compress-Archive -Force -DestinationPath Textractor -Path @(
|
||||
"Extensions.txt"
|
||||
)
|
||||
|
||||
cd ../x64;
|
||||
cd ../RelWithDebInfo_x64;
|
||||
Compress-Archive -Force -DestinationPath Textractor -Path @(
|
||||
"Textractor.exe",
|
||||
"styles",
|
||||
|
Loading…
Reference in New Issue
Block a user