diff options
author | JF Bastien <jfb@chromium.org> | 2015-12-24 10:11:11 -0800 |
---|---|---|
committer | JF Bastien <jfb@chromium.org> | 2015-12-24 10:11:11 -0800 |
commit | 61fd115827c9dc02965fc56ee84d0f6b41ce0caf (patch) | |
tree | 0da77f9bf580f0f6b4f48894a866ef26994bec00 | |
parent | fbf23be76c01b706ff3cd661a1463546291c5f9c (diff) | |
download | binaryen-61fd115827c9dc02965fc56ee84d0f6b41ce0caf.tar.gz binaryen-61fd115827c9dc02965fc56ee84d0f6b41ce0caf.tar.bz2 binaryen-61fd115827c9dc02965fc56ee84d0f6b41ce0caf.zip |
Specify a library and archive output directory
Only archive is needed for static libraries, but while I'm here also add the library output directory.
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/empty.txt | 0 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a77133560..a7d37068e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12.2) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/src) SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin") +SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib") +SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib") IF(MSVC) SET(CMAKE_CXX_FLAGS "/arch:sse2 ${CMAKE_CXX_FLAGS}") diff --git a/lib/empty.txt b/lib/empty.txt new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/lib/empty.txt |