-
Notifications
You must be signed in to change notification settings - Fork 4
/
clion.lua
38 lines (28 loc) · 823 Bytes
/
clion.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--
-- Name: clion.lua
-- Purpose: Define the clion action(s).
-- Author: Ryan Pusztai
-- Modified by: Andrea Zanellato
-- Andrew Gough
-- Manu Evans
-- Jason Perkins
-- Yehonatan Ballas
-- Created: 2013/05/06
-- Copyright: (c) 2008-2020 Jason Perkins and the Premake project
--
local p = premake
p.modules.clion = {}
p.modules.clion._VERSION = p._VERSION
local clion = p.modules.clion
local project = p.project
function clion.generateWorkspace(wks)
p.eol("\r\n")
p.indent(" ")
p.generate(wks, wks.location .. "/.idea/misc.xml", clion.workspace.generate)
end
function clion.cleanWorkspace(wks)
p.clean.file(wks, wks.location .. "/.idea/misc.xml")
end
include("clion_workspace.lua")
include("_preload.lua")
return clion