mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 18:21:44 +00:00
Change the compilation output path to CMAKE_BINARY_DIR/bin and /lib
This commit is contained in:
parent
a0c8b1f188
commit
d1c0a61b40
@ -82,6 +82,24 @@ endif()
|
|||||||
######################################################################
|
######################################################################
|
||||||
# Directories
|
# Directories
|
||||||
|
|
||||||
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
||||||
|
# We need to specify the output for each configuration to make it work
|
||||||
|
# on Visual Studio solutions.
|
||||||
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_BINARY_DIR}/bin")
|
||||||
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_BINARY_DIR}/bin")
|
||||||
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_BINARY_DIR}/bin")
|
||||||
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_PROFILE "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_PROFILE "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_PROFILE "${CMAKE_BINARY_DIR}/bin")
|
||||||
|
|
||||||
set(CURL_DIR ${CMAKE_SOURCE_DIR}/third_party/curl)
|
set(CURL_DIR ${CMAKE_SOURCE_DIR}/third_party/curl)
|
||||||
set(GIFLIB_DIR ${CMAKE_SOURCE_DIR}/third_party/giflib)
|
set(GIFLIB_DIR ${CMAKE_SOURCE_DIR}/third_party/giflib)
|
||||||
set(LIBFREETYPE_DIR ${CMAKE_SOURCE_DIR}/third_party/freetype)
|
set(LIBFREETYPE_DIR ${CMAKE_SOURCE_DIR}/third_party/freetype)
|
||||||
|
@ -53,11 +53,10 @@ the source code in a directory called `aseprite-source`):
|
|||||||
opening the solution, etc.
|
opening the solution, etc.
|
||||||
|
|
||||||
4. When the project is compiled, you can copy the resulting executable
|
4. When the project is compiled, you can copy the resulting executable
|
||||||
file (e.g. `build/src/aseprite.exe`) to `aseprite-source` and
|
file (e.g. `build/bin/aseprite.exe`) to `aseprite-source` and
|
||||||
execute it. If you have used a Visual Studio project, you can copy
|
execute it. If you have used a Visual Studio project, you can copy
|
||||||
the whole `data/` directory to `build/src/RelWithDebInfo/` so you
|
the whole `data/` directory to `build/bin/` so you can run/debug
|
||||||
can run/debug the program from Visual Studio IDE. On Linux, you can
|
the program from Visual Studio IDE.
|
||||||
copy the `data/` directory in `~/.aseprite/` directory.
|
|
||||||
|
|
||||||
## Mac OS X details
|
## Mac OS X details
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user