<commit_before>cmake_minimum_required(VERSION 2.8)

project(helloworld)

add_library(helloworld MODULE 
	helloworld.cpp 
	helloworld.h)

set(def_file "${helloworld_SOURCE_DIR}/helloworld.def")

if(MSVC)
	set_target_properties(helloworld PROPERTIES 
		LINK_FLAGS "/DEF:${def_file}")
elseif(UNIX OR MINGW)
	set_target_properties(helloworld PROPERTIES 
		PREFIX ""
		LINK_FLAGS "-Wl,--kill-at --def ${def_file}")
endif()

target_link_libraries(helloworld sampgdk)<commit_msg>.def shouldn't be set on UNIX<commit_after>cmake_minimum_required(VERSION 2.8)

project(helloworld)

add_library(helloworld MODULE 
	helloworld.cpp 
	helloworld.h)

set(def_file "${helloworld_SOURCE_DIR}/helloworld.def")

if(MSVC)
	set_target_properties(helloworld PROPERTIES 
		LINK_FLAGS "/DEF:${def_file}")
elseif(MINGW)
	set_target_properties(helloworld PROPERTIES 
		LINK_FLAGS "-Wl,--kill-at --def ${def_file}")
endif()

if (UNIX OR MINGW)
	set_target_properties(helloworld PROPERTIES PREFIX "")
endif()

target_link_libraries(helloworld sampgdk)
{'fraction_non_alphanumeric': 0.11328125, 'fraction_numerical': 0.00390625, 'mean_word_length': 7.0078125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2957194', 'n_tokens_mistral': 405, 'n_tokens_neox': 390, 'n_words': 63}