Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
acgl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACGL
acgl
Commits
00f5d2f8
Commit
00f5d2f8
authored
Apr 14, 2014
by
Philip Trettner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved macro for msvc source folding
parent
00b79d73
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
21 deletions
+4
-21
CMakeLists.txt
CMakeLists.txt
+1
-20
CMakeListsStaticInclude.txt
CMakeListsStaticInclude.txt
+2
-0
cmake
cmake
+1
-1
No files found.
CMakeLists.txt
View file @
00f5d2f8
...
...
@@ -5,26 +5,7 @@
#
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6
)
################################################################################
# Macro to sort acgl into directories
################################################################################
MACRO
(
RECURSE_GROUPS dirname
)
FILE
(
GLOB_RECURSE allfiles
"
${
dirname
}
/*.*"
)
SET
(
ALL_FILES
${
ALL_FILES
}
${
allfiles
}
)
STRING
(
REGEX REPLACE
".*/([^/]*)"
"
\\
1"
maindir
"
${
dirname
}
"
)
FOREACH
(
file
${
allfiles
}
)
STRING
(
REGEX REPLACE
"
${
dirname
}
/(.*)/[^/]*"
"
\\
1"
loopdirname
"
${
file
}
"
)
STRING
(
REGEX REPLACE
"/"
"
\\\\
"
loopdirname
"
${
loopdirname
}
"
)
IF
(
NOT
"
${
file
}
"
MATCHES
"
${
dirname
}
/(.*)/[^/]*"
)
source_group
(
"
${
maindir
}
"
FILES
${
file
}
)
ELSE
()
source_group
(
"
${
maindir
}
\\
${
loopdirname
}
"
FILES
${
file
}
)
ENDIF
()
ENDFOREACH
()
ENDMACRO
(
RECURSE_GROUPS
)
include
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/CMakeMacros.txt
)
################################################################################
# Global Settings
...
...
CMakeListsStaticInclude.txt
View file @
00f5d2f8
...
...
@@ -4,6 +4,8 @@
# e.g.: INCLUDE(${CMAKE_SOURCE_DIR}/extern/acgl/CMakeListsStaticInclude.txt)
#
include(${CMAKE_CURRENT_LIST_DIR}/cmake/CMakeMacros.txt)
SET(ACGL_BASE_DIR "${CMAKE_CURRENT_LIST_DIR}")
# Find all used files of certain file-types
FILE(GLOB_RECURSE SOURCE_FILES_C "${ACGL_BASE_DIR}/src/*.c")
...
...
cmake
@
c4eead9b
Subproject commit
a0eb0dda91ce5d621d47de52bcecdd494b00e353
Subproject commit
c4eead9bcb430fed3e99ee0df0f2b06559df5db4
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment