Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
8fed9a13
Commit
8fed9a13
authored
Sep 27, 2020
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove version resource building
update gitignore
parent
4fa2d843
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
17 deletions
+16
-17
.gitignore
+14
-0
GNUmakefile.in
+2
-17
aclocal.m4
+0
-0
No files found.
.gitignore
0 → 100644
View file @
8fed9a13
obj.dbg/
obj/
.libs/
.vscode/
autom4te.cache/
GNUmakefile
include/cif++/Config.hpp
tools/symop-map-generator
test/unit-test
libcif++.pc
libcif++.la
config.status
config.log
libtool
GNUmakefile.in
View file @
8fed9a13
...
@@ -132,28 +132,13 @@ $(OBJDIR)/Symmetry.lo: src/SymOpTable_data.cpp
...
@@ -132,28 +132,13 @@ $(OBJDIR)/Symmetry.lo: src/SymOpTable_data.cpp
endif
endif
# version info
REVISION
=
$(
shell
git log
--pretty
=
format:%h
--max-count
=
1
)
REVISION_FILE
=
version-info-
$(REVISION)
.txt
$(REVISION_FILE)
:
rm
-f
version-info-
*
.txt
git describe
--match
=
build
--dirty
>
$@
git log
--pretty
=
medium
--date
=
iso8601
-1
>>
$@
rsrc
:
@
mkdir
-p
$@
rsrc/lib-version.txt
:
$(REVISION_FILE) | rsrc
cp
$?
$@
$(LIB_TARGET)
:
$(OBJECTS)
$(LIB_TARGET)
:
$(OBJECTS)
$(CXXLINK)
-rpath
$(libdir)
$(OBJECTS)
$(LIBS)
$(CXXLINK)
-rpath
$(libdir)
$(OBJECTS)
$(LIBS)
lib
:
$(LIB_TARGET)
lib
:
$(LIB_TARGET)
.PHONY
:
libs
.PHONY
:
libs
all
:
lib
rsrc/lib-version.txt
all
:
lib
.PHONY
:
all
.PHONY
:
all
-include $(OBJECTS
:
%.lo=%.d)
-include $(OBJECTS
:
%.lo=%.d)
...
@@ -188,7 +173,7 @@ $(1)_OBJECTS = $$(OBJDIR)/$(1)-test.o
...
@@ -188,7 +173,7 @@ $(1)_OBJECTS = $$(OBJDIR)/$(1)-test.o
test/$(1)-test
:
$(LIB_TARGET) $$($(1)_OBJECTS)
test/$(1)-test
:
$(LIB_TARGET) $$($(1)_OBJECTS)
@
echo
">>> building
$
(1)-test"
@
echo
">>> building
$
(1)-test"
$(LIBTOOL)
--silent
--tag
=
CXX
--mode
=
link
$(CXX)
$(CXXFLAGS)
$(LDFLAGS)
-o
$$
@
$$
(
$
(
1
)
_OBJECTS
)
-L
.libs
-l
boost_timer
-l
cif
++
$(LIBS)
$(LIBTOOL)
--silent
--tag
=
CXX
--mode
=
link
$(CXX)
$(CXXFLAGS)
$(LDFLAGS)
-o
$$
@
$$
(
$
(
1
)
_OBJECTS
)
-L
.libs
-lcif
++
$(LIBS)
.PHONY
:
$(1)-test
.PHONY
:
$(1)-test
$(1)-test
:
test/$(1)-test
$(1)-test
:
test/$(1)-test
...
...
aclocal.m4
0 → 100644
View file @
8fed9a13
This diff is collapsed.
Click to expand it.
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