equal
deleted
inserted
replaced
91 |
91 |
92 |
92 |
93 #where to build libs and bins |
93 #where to build libs and bins |
94 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
94 set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
95 set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
95 set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) |
|
96 #these variables are for non-makefile generators |
|
97 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}) |
|
98 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${EXECUTABLE_OUTPUT_PATH}) |
|
99 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${EXECUTABLE_OUTPUT_PATH}) |
|
100 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}) |
|
101 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${LIBRARY_OUTPUT_PATH}) |
|
102 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${LIBRARY_OUTPUT_PATH}) |
|
103 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}) |
|
104 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${LIBRARY_OUTPUT_PATH}) |
|
105 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${LIBRARY_OUTPUT_PATH}) |
96 |
106 |
97 #resource paths |
107 #resource paths |
98 if(UNIX AND NOT APPLE) |
108 if(UNIX AND NOT APPLE) |
99 set(target_binary_install_dir "bin") |
109 set(target_binary_install_dir "bin") |
100 set(target_library_install_dir "lib") |
110 set(target_library_install_dir "lib") |