/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Gustav Hartvigsson
  • Date: 2017-01-24 20:55:19 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20170124205519-gtr18o3dwbunrrnx
* Fixed the tests in the CMake file
* Made doxygen output static declarations.
* Started work on SApplication
* Played with BaseN.c
  * Now it is a lil' bit better
* Spilt defs.h
  * Added types.h
    * Started work on the full typesystem.
      (Still needs testing)
  * Added primes.[c,h]
    * Contains some static array with primes.
      ("Good" primes, and all primes up to 5 000.
    * And helper functions related to Primes (Needs Tests).
* fixed s_dynamic_array_dump_array.
  (The old version did not make much sense)
* removed some functions from DymanicArray.c
* fixed compiler warnings in Mainloop.c
* removed s_map_(de)serialize_json functions.
* Made s_thread_status_get_name be less prone to error
  (This due to the C11 standard not specifing what these
   values should be)
* fixed s_thread_run
* fixed s_threa_stop

  TODO:
* Write tests for the s_prime_* functions
* Write tests for the s_type_* functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
add_subdirectory (tests)
74
74
 
75
75
add_library (ssts SHARED ${SSTS_SRC})
76
 
target_link_libraries (ssts PUBLIC ${CMAKE_THREAD_LIBS_INIT})
 
76
target_link_libraries (ssts PUBLIC ${CMAKE_THREAD_LIBS_INIT} m)
77
77
message (${CMAKE_THREAD_LIBS_INIT})
78
78
 
79
79
set_target_properties (ssts PROPERTIES COMPILE_DEFINITIONS "SSTS_BUILDING=1")
88
88
 
89
89
enable_testing()
90
90
add_test (test tests/ssts_test )
91
 
add_test (test_ml_b_libc tests/ssts_main_loop_basic_libc )
92
 
add_test (test_ml_b_gc tests/ssts_main_loop_basic_gc )
93
 
add_test (test_ml_b_m_n_s tests/ssts_main_loop_basic_mark_and_sweep )
 
91
add_test (ssts_main_loop_basic_libc tests/ssts_main_loop_basic_libc )
 
92
add_test (ssts_main_loop_basic_gc tests/ssts_main_loop_basic_gc )
 
93
add_test (ssts_main_loop_basic_mark_and_sweep tests/ssts_main_loop_basic_mark_and_sweep )
94
94
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --extra-verbose)
95
95
 
96
96