Skip to content

Commit

Permalink
Compile Bint.o partially
Browse files Browse the repository at this point in the history
  • Loading branch information
tigertv committed Dec 8, 2020
1 parent 18c681b commit e857bc4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ else()
endif()

include_directories(include)
set(BINT_SRC src/Bint.cpp)
aux_source_directory(src/Bint BINT_SRC)
set(BINT_SRC ${BINT_SRC} src/Bint.cpp)
set(MATH_SRC src/Math.cpp)
add_library(shareobjects OBJECT ${BINT_SRC} ${MATH_SRC})

Expand Down
7 changes: 0 additions & 7 deletions src/Bint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@
*/

#include <Bint/Bint.h>

#include "Bint/arithmetics.cpp"
#include "Bint/comparison.cpp"
#include "Bint/bitoperations.cpp"
#include "Bint/shifts.cpp"
#include "Bint/io.cpp"

#include <stdexcept>


Expand Down
1 change: 1 addition & 0 deletions src/Bint/arithmetics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* SOFTWARE.
*/

#include <Bint/Bint.h>

namespace TigerTV {

Expand Down
1 change: 1 addition & 0 deletions src/Bint/bitoperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* SOFTWARE.
*/

#include <Bint/Bint.h>

namespace TigerTV {

Expand Down
1 change: 1 addition & 0 deletions src/Bint/comparison.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* SOFTWARE.
*/

#include <Bint/Bint.h>

namespace TigerTV {

Expand Down
2 changes: 1 addition & 1 deletion src/Bint/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

#include <algorithm>

#include <Bint/Bint.h>

namespace TigerTV {

Expand Down
1 change: 1 addition & 0 deletions src/Bint/shifts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* SOFTWARE.
*/

#include <Bint/Bint.h>

namespace TigerTV {

Expand Down

0 comments on commit e857bc4

Please sign in to comment.