Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/fn_configuration.c')
-rw-r--r--src/script/fn_configuration.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/script/fn_configuration.c b/src/script/fn_configuration.c
deleted file mode 100644
index 4a6154c..0000000
--- a/src/script/fn_configuration.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * \file fn_configuration.c
- * \brief Implements the configuration() function.
- * \author Copyright (c) 2002-2008 Jason Perkins and the Premake project
- */
-
-#include "premake.h"
-#include "script_internal.h"
-
-
-/**
- * Specify the build configurations for a solution.
- */
-int fn_configuration(lua_State* L)
-{
- /* if there are parameters, create a new configuration block */
- if (lua_gettop(L) > 0)
- {
- /* get the active object, which will contain this new configuration */
- if (!script_internal_get_active_object(L, SolutionObject | ProjectObject, IS_REQUIRED))
- {
- return 0;
- }
-
- /* create a new configuration block in the container */
- script_internal_create_block(L);
-
- /* populate the list of terms from the arguments */
- script_internal_get_active_object(L, BlockObject, IS_REQUIRED);
- fn_accessor_set_list_value(L, &BlockFieldInfo[BlockTerms]);
- }
-
- script_internal_get_active_object(L, BlockObject, IS_OPTIONAL);
- return 1;
-}
-