diff options
Diffstat (limited to 'src/action/make/make_solution.c')
-rw-r--r-- | src/action/make/make_solution.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/action/make/make_solution.c b/src/action/make/make_solution.c deleted file mode 100644 index 5f31087..0000000 --- a/src/action/make/make_solution.c +++ /dev/null @@ -1,34 +0,0 @@ -/** - * \file make_solution.c - * \brief Makefile solution generation functions. - * \author Copyright (c) 2002-2008 Jason Perkins and the Premake project - */ - -#include <assert.h> -#include "premake.h" -#include "action/make/make.h" -#include "action/make/make_solution.h" -#include "base/error.h" - - -/** - * Create a new output stream for a solution, and make it active for subsequent writes. - * \param sess The execution session context. - * \param sln The current solution. - * \param strm The currently active stream; set with session_set_active_stream(). - * \returns OKAY if successful. - */ -int make_solution_create(Session sess, Solution sln, Stream strm) -{ - /* create the makefile */ - const char* filename = make_get_solution_makefile(sess, sln); - strm = stream_create_file(filename); - if (!strm) - { - return !OKAY; - } - - /* make the stream active for the functions that come after */ - session_set_active_stream(sess, strm); - return OKAY; -} |