equal
deleted
inserted
replaced
1 #where to build libs and bins |
1 #where to build libs and bins |
2 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
2 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
3 set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
3 set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
|
4 #these variables are for non-makefile generators |
|
5 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}) |
|
6 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${EXECUTABLE_OUTPUT_PATH}) |
|
7 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${EXECUTABLE_OUTPUT_PATH}) |
|
8 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}) |
|
9 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${LIBRARY_OUTPUT_PATH}) |
|
10 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${LIBRARY_OUTPUT_PATH}) |
|
11 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}) |
|
12 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${LIBRARY_OUTPUT_PATH}) |
|
13 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${LIBRARY_OUTPUT_PATH}) |
4 |
14 |
5 #resource paths |
15 #resource paths |
6 if(UNIX AND NOT APPLE) |
16 if(UNIX AND NOT APPLE) |
7 set(target_binary_install_dir "bin") |
17 set(target_binary_install_dir "bin") |
8 set(target_library_install_dir "lib") |
18 set(target_library_install_dir "lib") |