Revision 4be626c188e8c9c59520165432861ac58ea2f08b authored by Alexander Kruppa on 20 February 2014, 16:48:59 UTC, committed by Alexander Kruppa on 20 February 2014, 16:48:59 UTC
1 parent 3df61d1
Raw File
CMakeLists.txt
# Some compilation defaults specific to this directory

# The following is needed for some SSE stuff
# set (CMAKE_C_FLAGS   "-flax-vector-conversions ${CMAKE_C_FLAGS}")

include_directories (ecm)
include_directories (${CMAKE_CURRENT_BINARY_DIR})
link_directories (${CMAKE_CURRENT_BINARY_DIR}/ecm)

add_executable (makefb makefb.c)
target_link_libraries (makefb utils)

set (las_sources las.c fb.c trialdiv.c
    las-coordinates.c las-debug.c las-report-stats.c las-duplicate.c
    las-config.c las-norms.c bucket.c las-smallsieve.c las-unsieve.c las-arith.c
    las-qlattice.c las-descent-helpers.cpp)

add_executable (las ${las_sources})
target_link_libraries (las facul utils ${pthread_libs})

add_executable (las_tracek EXCLUDE_FROM_ALL ${las_sources})
set_property(TARGET las_tracek PROPERTY COMPILE_DEFINITIONS TRACE_K=1)
target_link_libraries (las_tracek facul utils ${pthread_libs})

add_library (libtrialdiv trialdiv.c)

add_executable(freerel freerel.c fb.c)
target_link_libraries(freerel utils)

add_subdirectory(ecm)

install(TARGETS makefb las freerel RUNTIME DESTINATION bin/sieve)

include(CMakeLists-nodist.txt OPTIONAL)
back to top