Hi Angeliki,

CMAKE_CURRENT_BINARY_DIR in my case is 
/import/home/yury.alioshinov/linux_i686/lua_libs/Source/__build__/engine/
but object files are located in 
/import/home/yury.alioshinov/linux_i686/lua_libs/Source/__build__/engine/CMakeFiles/lua_engine.dir

Now I use construction:
"${CMAKE_CURRENT_BINARY_DIR}/${SUB_DIR}${CMAKE_FILES_DIRECTORY}/${project_name}.dir/"

but I think it is hardcoding and I'm not sure that it will work in all cases



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/How-to-know-the-location-of-build-directory-tp7587766p7587769.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to