mirror of
https://bitbucket.org/Mattrixwv/cipherstream.git
synced 2026-02-04 03:32:30 -05:00
Made update to test version to allow easier code writing
This commit is contained in:
1
main.cpp
1
main.cpp
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
|
|
||||||
///Test definitions
|
///Test definitions
|
||||||
|
//#define TEST_VERSION
|
||||||
|
|
||||||
#ifdef TEST_VERSION
|
#ifdef TEST_VERSION
|
||||||
#define CAESAR_TEST
|
#define CAESAR_TEST
|
||||||
|
|||||||
1
makefile
1
makefile
@@ -23,6 +23,7 @@ CiphersTest: main.cpp
|
|||||||
CiphersDBG: main.cpp SourceFiles/Caesar.cpp SourceFiles/Playfair.cpp
|
CiphersDBG: main.cpp SourceFiles/Caesar.cpp SourceFiles/Playfair.cpp
|
||||||
$(CXX) -O3 -std=c++11 -g -DTEST_VERSION -o $@ $<
|
$(CXX) -O3 -std=c++11 -g -DTEST_VERSION -o $@ $<
|
||||||
|
|
||||||
|
|
||||||
#Linux
|
#Linux
|
||||||
libCaesar.lib: SourceFiles/Caesar.cpp
|
libCaesar.lib: SourceFiles/Caesar.cpp
|
||||||
g++ -shared -std=c++11 -O3 -fPIC -o $@ $<
|
g++ -shared -std=c++11 -O3 -fPIC -o $@ $<
|
||||||
|
|||||||
Reference in New Issue
Block a user