changeset 120:ba786304afb3

build: put build products in build/ Signed-off-by: Joshua Kahn <josh@joshuak.net> Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josephsipek.net>
author Joshua Kahn <josh@joshuak.net>
date Sat, 17 Oct 2015 20:13:39 -0400
parents 1a6520cd3e0d
children 652b13a0e764
files .gitignore CMakeLists.txt
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.gitignore	Sat Oct 17 19:25:41 2015 -0400
+++ b/.gitignore	Sat Oct 17 20:13:39 2015 -0400
@@ -5,6 +5,8 @@
 cmake_install.cmake
 install_manifest.txt
 
+build/
+
 proto
 
 .*.swp
--- a/CMakeLists.txt	Sat Oct 17 19:25:41 2015 -0400
+++ b/CMakeLists.txt	Sat Oct 17 20:13:39 2015 -0400
@@ -1,5 +1,6 @@
 #
 # Copyright (c) 2015 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
+# Copyright (c) 2015 Joshua Kahn <josh@joshuak.net>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
@@ -31,6 +32,8 @@
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-inline-functions-called-once")
 
 set(CMAKE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/build")
+set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/build")
 
 include(cmake/config.cmake)
 include(cmake/rpcgen.cmake)