solves dist folder issues for the build

This commit is contained in:
Faruk D 2018-02-27 16:43:09 +01:00
parent 64fc5e8334
commit d73bb464ad
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,10 @@ include(CheckFunctionExists)
#SET(MAINFOLDER ${PROJECT_SOURCE_DIR}) #SET(MAINFOLDER ${PROJECT_SOURCE_DIR})
SET(MAINFOLDER ${CMAKE_CACHEFILE_DIR}) SET(MAINFOLDER ${CMAKE_CACHEFILE_DIR})
SET(EXECUTABLE_OUTPUT_PATH "${MAINFOLDER}/dist/bin") SET(EXECUTABLE_OUTPUT_PATH "${MAINFOLDER}/dist/bin")
file(MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
SET(LIBRARY_OUTPUT_PATH "${MAINFOLDER}/dist/lib") SET(LIBRARY_OUTPUT_PATH "${MAINFOLDER}/dist/lib")
file(MAKE_DIRECTORY ${LIBRARY_OUTPUT_PATH})
# Load CMAKE configuration from environment variables # Load CMAKE configuration from environment variables
set( CMAKE_MODULE_PATH $ENV{CMAKE_MODULE_PATH} ) set( CMAKE_MODULE_PATH $ENV{CMAKE_MODULE_PATH} )

View File

@ -10,7 +10,6 @@ set (objects
myblas myblas
robust_lbfgs_nocuda robust_lbfgs_nocuda
robustlm robustlm
rtr_solve_robust
rtr_solve_robust_admm rtr_solve_robust_admm
updatenu updatenu
) )