fixed testing and includes dir
This commit is contained in:
@@ -19,9 +19,10 @@ struct tart_vec2 term_current_size() {
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
|
||||
struct tart_vec2 term_current_size() {
|
||||
struct tart_vec2 ret = {50,50};
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -3,10 +3,10 @@ set( CMAKE_CXX_STANDARD 11)
|
||||
set( CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set( SOURCES
|
||||
main.cpp
|
||||
#test_tart.cpp
|
||||
test_tart.cpp
|
||||
)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SOURCES} )
|
||||
target_link_libraries(${PROJECT_NAME} TartLib)# PickleLib)
|
||||
target_link_libraries(${PROJECT_NAME} TartLib PickleLib)
|
||||
|
||||
add_test(${PROJECT_NAME} "${CMAKE_SOURCE_DIR}/bin/testing.exe")
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#include "test_tart.h"
|
||||
//#include <Pickler.h>
|
||||
#include <Pickler.h>
|
||||
int main (int argc, char *argv[]) {
|
||||
// INSTALLSHELF;
|
||||
tart_create_cell('t', '1', (struct tart_rgb){0,0,0}, (struct tart_rgb){0,0,0});
|
||||
//tart_run(&__pickle_shelf__);
|
||||
return 0;//PICKLESHELF;
|
||||
INSTALLSHELF;
|
||||
tart_run(&__pickle_shelf__);
|
||||
return PICKLESHELF;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <tart.h>
|
||||
//#include <Pickler.h>
|
||||
#include <Pickler.h>
|
||||
|
||||
bool rgb_test(struct tart_rgb* lhs, struct tart_rgb* rhs);
|
||||
bool vec2_test(struct tart_vec2* lhs, struct tart_vec2* rhs);
|
||||
|
||||
Reference in New Issue
Block a user